Ejecta memory management testing

Discussion and feedback on Construct 2

Post » Fri May 02, 2014 2:06 am

hi,
thanks a lot for your hard work ... really
is that mean that exporting with webgl on will not crash ? if i understand ... because without this trick ... when you export to ejecta with webgl on ... and you run your app in your device it work but when you press home button and return to app it crash ...
other question ... will this trick (exporting with webgl on with trick of ashly) optimise performances ?
B
47
S
16
G
8
Posts: 803
Reputation: 8,378

Post » Fri May 02, 2014 8:43 pm

@Ashley: I just switched Enable WebGL to Off in my project properties: memory usage is OK now! And switching layout time is excellent! All good!!
B
6
S
1
Posts: 18
Reputation: 450

Post » Sat May 03, 2014 12:36 pm

@Ashley
After some testing it seems that with WebGL off layouts do switch faster, memory usage seems to be the same as with WebGL on and performance wise, my game, without any WebGL effects seems to run as good on WebGL as on Canvas 2D on a iPhone 4 (webgl effects are a performance killer on iPhone 4).

Also, when loading the game, memory usage caps at around 200mb, while in Construct 2 the max memory usage is 70mb, and that's the layout i throw most of the games assets in, it's never accessed in the game. Is that normal for ejecta memory management?
B
33
S
12
G
7
Posts: 227
Reputation: 7,582

Post » Mon May 05, 2014 3:47 am

hi i just try it
nothing change for me
still bad performance on iphone 4
B
47
S
16
G
8
Posts: 803
Reputation: 8,378

Post » Mon May 05, 2014 4:15 am

Its sad how bad the iPhone 4 is, particles destroy its performance when on an Android phone released at similar times runs fine.
Might have to draw the line and just aim for iPhone 5 for my future games.
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,616

Post » Mon May 05, 2014 5:07 am

Silverforce wrote:Its sad how bad the iPhone 4 is, particles destroy its performance when on an Android phone released at similar times runs fine.
Might have to draw the line and just aim for iPhone 5 for my future games.



yes iphone 4 is really poor ... and if we make application or game we have to improve performance for all device ... specially iphone 4 ... because owner of iphone 4 is bigger than 4s or 5 (low cost its normal)

but tell me have you tryed with ejecta 1.5 ? maybe it will be better ?
because it say on ejecta forum that performance are good with canvas 2D and webgl too

the problem that for example my game is simple
but i use a lot of (set x , move to top , move to bottom , create object every 0.01 seconds )... thats the problem
B
47
S
16
G
8
Posts: 803
Reputation: 8,378

Post » Mon May 05, 2014 5:31 am

You should not use create object every 0.01 seconds, because thats faster than the threshold for 60 fps (16ms).

iPhone 4 is just awful, and thats the truth of it. I believe the 4S is still the bulk of the market, with iPhone 5 replacing it quickly.
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,616

Post » Mon May 05, 2014 5:49 am

Silverforce wrote:You should not use create object every 0.01 seconds, because thats faster than the threshold for 60 fps (16ms).

iPhone 4 is just awful, and thats the truth of it. I believe the 4S is still the bulk of the market, with iPhone 5 replacing it quickly.

yes i know
but the problem that i not playing good with c2 this why .... i will try optimise it

about ejecta 1.5 , mr.ashley say that he include all about it on his memory management patch ... its true that the game load faster but performance on game still same

have you an game on appstore to see your work ?

thanks
B
47
S
16
G
8
Posts: 803
Reputation: 8,378

Post » Mon May 05, 2014 6:48 am

No I havent released any on Apple yet since I am not satisfied with its performance and handling of larger games. The only games I want to release are big ones so its a problem for me.

Even with WebGL, we're seeing a doubling jump of memory on layout transition causing a memory warning, it would certainly crash since my assets are 400MB+ in ram. Have to wait further for proper iOS support of large games.

On android its fine, I've got Intel XDK apps on Google Store.
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,616

Post » Mon May 05, 2014 2:10 pm

mmm ok
i just tru to optimise my game by reducing at maximum all collisions and polygone colisions
i get results ... gameplay is fast but just first 5 secondes
that mean when i lunch it on iphone 4 and go playng game, it run normal but after 5 , 6 seconds game go slower
on iphone 4s no problem all seem to be good
any idea about that mr.silver or mr.ashley ?
B
47
S
16
G
8
Posts: 803
Reputation: 8,378

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 13 guests