finally i optimize my game with canvas2d iam happy

Discussion and feedback on Construct 2

Post » Wed Sep 10, 2014 12:54 pm

hi,
after a lot of work and search i finally optimize my game and now is playable faster on iphone 3gs and iphone 4
i recuce memory usage from 54 mb to 12mb
reduce cpu usage fro 49% to 19%
and fsp from 49 to 58-60

what i do :
-just read and read tutorial about optimize performance and apply them
-use tiled background
-desable behavior and enable them only when it is necessaire
-use of family and groups
-desable collisions and enable the only when it is neccesaire
-optimize size of sprite and avoird transparent spaces

you can give me your feedback
here is my new game viewtopic.php?f=148&t=115233&p=829690#p829690
B
44
S
16
G
8
Posts: 791
Reputation: 8,279

Post » Wed Sep 10, 2014 1:13 pm

Nice to hear ^-^
I do not have an iphone with me (And I do not know anyone with an iphone 3gs or 4), but this is a good news.

And what you did is actually pretty much the good way to do it: make it so the device has less rendering and computing work to do while keeping the gameplay intact.

I will try to see if I can test it somehow.
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
52
S
22
G
18
Posts: 2,122
Reputation: 17,093

Post » Wed Sep 10, 2014 1:17 pm

Aphrodite wrote:Nice to hear ^-^
I do not have an iphone with me (And I do not know anyone with an iphone 3gs or 4), but this is a good news.

And what you did is actually pretty much the good way to do it: make it so the device has less rendering and computing work to do while keeping the gameplay intact.

I will try to see if I can test it somehow.


yes exactly
and dont forget that you help me a lot ... so many thanks
B
44
S
16
G
8
Posts: 791
Reputation: 8,279

Post » Wed Sep 10, 2014 1:18 pm

Nicely done.

Definitely C2 games, even very complex ones can run great on mobiles, it just requires taking extra care at optimizations since you cannot get away with being as sloppy like on PCs.
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,609

Post » Wed Sep 10, 2014 2:15 pm

Matrix, I sent you a PM . Read it please it would really help me
B
9
S
1
G
1
Posts: 32
Reputation: 959


Return to Construct 2 General

Who is online

Users browsing this forum: Cliffu and 4 guests