Questions about ejecta

Discussion and feedback on Construct 2

Post » Thu Mar 27, 2014 8:40 pm

Hi,
I've seen the 165 build of c2 brings out ejecta support. That's great.
However in the post it's told that ejecta has issues with memory management. What's that? I can't use webstorage event?
B
13
S
4
G
1
Posts: 241
Reputation: 1,724

Post » Thu Mar 27, 2014 8:46 pm

I think you can still use Webstorage, Memory Management is related to technical stuff that affects performance, webstorage should work :P
B
51
S
20
G
10
Posts: 571
Reputation: 9,819

Post » Thu Mar 27, 2014 8:56 pm

If I understand correctly, memory management means that instead of loading new assets layout by layout, Ejecta will load all your assets at the start, and hold all of them in memory even though some of them aren't being used. CocoonJS has the same problem.
B
17
S
4
G
4
Posts: 143
Reputation: 4,004

Post » Thu Mar 27, 2014 9:25 pm

Correct, Ejecta, same as CocoonJS, loads all images (but not audio files) on the initial loading of the game.
I just tested my game with the new ejecta exporter and the results as basically the same as with cocoonjs when it comes to memory usage. Note that if you used Ejecta in the past this exporter won't bring anything new to the table.
As for the performance, on the iPhone 5 the game runs smooth both with CocoonJS and Ejecta, maybe a bit smoother with Ejecta but maybe it's just me. On the iPhone 4 both versions have a harder time keeping the framerate up but the CocoonJS version seems to do a better job at it.

Regarding memory management, after the game loaded successfully the memory consumption actually drops, so in my experience there's a good chance that if the game fully loads without crashing, even with low memory warnings, the game probably won't crash while running.
B
33
S
12
G
7
Posts: 227
Reputation: 7,582

Post » Thu Mar 27, 2014 10:32 pm

KFC wrote:Correct, Ejecta, same as CocoonJS, loads all images (but not audio files) on the initial loading of the game.
I just tested my game with the new ejecta exporter and the results as basically the same as with cocoonjs when it comes to memory usage. Note that if you used Ejecta in the past this exporter won't bring anything new to the table.
As for the performance, on the iPhone 5 the game runs smooth both with CocoonJS and Ejecta, maybe a bit smoother with Ejecta but maybe it's just me. On the iPhone 4 both versions have a harder time keeping the framerate up but the CocoonJS version seems to do a better job at it.

Regarding memory management, after the game loaded successfully the memory consumption actually drops, so in my experience there's a good chance that if the game fully loads without crashing, even with low memory warnings, the game probably won't crash while running.


So there is issue with the audio?
B
13
S
4
G
1
Posts: 241
Reputation: 1,724

Post » Thu Mar 27, 2014 10:37 pm

There's no issue with audio on Ejecta and CJS. The only issue and its a big one, is lack of proper layout-by-layout loading of assets. A whole can of whoop'ass is thrown into the vram (on mobiles its the device ram) on startup, taking a long time to load your game (30-40s for bigger games) and consuming 450MB of memory. That would instant kill an iPhone4S which is still the bulk of the iOS market.

Most people don't realize how BIG images are in memory as a texture.
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,614

Post » Thu Mar 27, 2014 10:58 pm

if Ejecta performs almost as good as Cocoon, this is very good news, as Ejecta is opensource & free whilst Cocoon is not!
B
43
S
11
G
4
Posts: 428
Reputation: 7,454

Post » Fri Mar 28, 2014 1:20 am

So.... Does anyone know, is there a proven and not too difficult (for the hard of thought ie me) way of displaying ads using Ejecta? I would dearly love to avoid the CJS flickering splash screen!
A big fan of JavaScript.
B
74
S
20
G
71
Posts: 2,228
Reputation: 44,888

Post » Fri Mar 28, 2014 1:35 pm

@Colludium - the Ejecta plugin can show iAds.
Scirra Founder
B
398
S
236
G
88
Posts: 24,428
Reputation: 194,600

Post » Fri Mar 28, 2014 1:49 pm

Ejecta supports video too. Don't know about C2 plugin though
B
32
S
4
Posts: 57
Reputation: 1,550

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 21 guests