Ejecta Thread

Discussion and feedback on Construct 2

Post » Sun May 12, 2013 10:09 am

Exporter and Plugin ready: https://github.com/0plus1/C2_Ejecta
B
29
S
9
G
6
Posts: 525
Reputation: 8,294

Post » Sun May 12, 2013 11:11 am

great, thanks a lot 0plus1 for all your work :)
B
11
S
6
G
2
Posts: 105
Reputation: 3,910

Post » Sun May 12, 2013 4:02 pm

Thanks a lot 0plus1!
B
77
S
20
G
7
Posts: 46
Reputation: 7,840

Post » Sun May 12, 2013 10:00 pm

Awesome stuff! It's a shame webgl doesn't really work on it yet though, because of that it's not really an option for what I'm working on. Hopefully they'll get it working eventually.
Moderator
B
87
S
32
G
33
Posts: 3,005
Reputation: 27,397

Post » Mon May 13, 2013 1:19 am

[QUOTE=Arima] Awesome stuff! It's a shame webgl doesn't really work on it yet though, because of that it's not really an option for what I'm working on. Hopefully they'll get it working eventually.[/QUOTE]

Just to be clear, it works perfectly webGL 100%.
In MY game (which is the only real world benchmark I have) there is a significant drop in framerate with WebGL (around 10fps). I also have the same exact issue with memory management that I had with canvas2d so it wasn't an option for me. The exporter for WebGL is there, please try, the more people start experimenting the faster will get there.
B
29
S
9
G
6
Posts: 525
Reputation: 8,294

Post » Mon May 13, 2013 1:50 am

Well, I was mainly referring to the memory management apparently not working, and webgl should be faster, so it doesn't seem like 100%. :/ I might try playing with it anyway.
Moderator
B
87
S
32
G
33
Posts: 3,005
Reputation: 27,397

Post » Mon May 13, 2013 1:02 pm

@Arima : in fact, WebGL shouldn't be faster with Ejecta, it should just be the same speed as canvas2d.
What Ejecta does is translating javascript calls into OpenGL (ES) calls.
So, in the end, the canvas2d code is translated to OpenGL, and the WebGL code is also translated to OpenGL. The fact is that vikerman started to work on the WebGL portion of code way after the work was started on canvas2d, so the difference of semantics between canvas2d and WebGL explain the difference of translation (meaning their speed of execution) when they run with Ejecta.
That also means that using WebGL in your Construct2 code won't be faster than using just canvas2d (it's different than running in the browser). The only thing that won't work is WebGL shaders.
B
33
S
9
G
6
Posts: 709
Reputation: 6,704

Post » Mon May 13, 2013 7:00 pm

Hmm... Yeah, I was comparing it to the difference between running games in desktop browsers in canvas2d mode vs webgl, with webgl being faster even though canvas2d is also hardware accelerated, so was expecting performance improvements on mobile as well.

Regardless, even if webgl offers no speed benefit it shouldn't cause a heavy performance hit. Once it sorts those issues out I'll be giving it another look.
Moderator
B
87
S
32
G
33
Posts: 3,005
Reputation: 27,397

Post » Tue May 14, 2013 5:14 pm

This is great news, I can't wait to try it out! It seems like so much of C2's mobile progress hinges on CocoonJS's ludicrously slow updating. It'd be nice if new options were explored...

edit: How do you change the bundle identifier? adagar2013-05-14 17:20:16
B
20
S
10
G
4
Posts: 106
Reputation: 4,219

Post » Sun Jun 09, 2013 3:53 am

I know this post is 2-3 weeks old but are people still experimenting with Ejecta? I imagine cocoonjs is also coming across some great changes but I'm also interest in Ejecta.
B
18
S
4
G
3
Posts: 436
Reputation: 4,801

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 8 guests