Construct 2 Comparison to Other Engines (Video)

Discussion and feedback on Construct 2

Post » Thu Apr 25, 2013 3:22 pm

Have you guys seen this video? Yipes!
B
21
S
5
Posts: 43
Reputation: 2,529

Post » Thu Apr 25, 2013 3:37 pm

I love it when someone balks at a non scripting environment, and then uses a physics engine exclusively.

Anyway, yeah mobile physics suck on C2.
Could they have picked a less cpu expensive method to test?
Nope.
Image Image
B
161
S
48
G
89
Posts: 7,347
Reputation: 66,249

Post » Thu Apr 25, 2013 4:02 pm

yep, saw this video a few months ago. Wasn't a very good test.

1. As newt points out. The physics test is horrible. However this is a result of javascript problem. This would be fine if the game testing was about physics test. But it's not. It's about rendering performance.

2. Rendering performance. C2 would still end up at the lower due to lack of effective browser acceleration on the test machine.

Unfortunately we maybe able to export to IOS and Android C2 does not push a fully encapsulated game on the those target OS. So odds are performance will only at best be comparable to a native app. If we are using CJS.

Though it still points out an important factor. C2 really isn't the best solution for IOS/Android. It has acceptable results when using CJS.

If these tests were on desktop machine the performance would be comparable. However they seemed to designed to single out a particular engine to be on top.
B
87
S
18
G
9
Posts: 2,455
Reputation: 14,834

Post » Thu Apr 25, 2013 5:42 pm

Thanks for the feedback!

So, basically, this test is relevant only if targeting mobile platforms with physics, in which case, C2 is probably not your go-to development platform anyway...?
cklester2013-04-25 17:42:48
B
21
S
5
Posts: 43
Reputation: 2,529

Post » Thu Apr 25, 2013 6:02 pm

Yeah, the video is exclusively a test of physics performance, rather than the general aspects of the tool. Admittedly the performance of a physics engine in Javascript is a weak point. FWIW, we've been experimenting with using the native physics engine integrated in to CocoonJS, which could speed it up a great deal on there. They used that on the video so it would help their test, but browsers would still be slow.

I've actually experimented a little with using an asm.js build of Box2D. On Firefox it's way faster - literally 2-4x faster. However the asm.js code was slower on Internet Explorer and a few mobile devices I tried, presumably because they don't actually support asm.js so the overhead increases even more. If lots of mobile devices supported asm.js, I'm sure we could even make physics in the browser really fast.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,478

Post » Thu Apr 25, 2013 9:17 pm

How did they get such superior physics performance on the used platform (it was an Android tablet, IIRC)? It would seem you guys could do the same thing, unless they're compiling to native code.
B
21
S
5
Posts: 43
Reputation: 2,529

Post » Thu Apr 25, 2013 9:29 pm

They are compiling to native code, that's why it's so much faster. As mentioned though, scirra and cocoonjs are working on acceleration of physics, and a demo of cocoonjs' implementation comes with the free cocoonjs launcher app that gets 300 objects at 50-60 fps on my ipad 3.Arima2013-04-25 22:10:18
Moderator
B
87
S
32
G
33
Posts: 3,005
Reputation: 27,397

Post » Thu Apr 25, 2013 10:06 pm

Ahhh! I didn't know they were compiling to native. Thanks, @Arima, for the info.
B
21
S
5
Posts: 43
Reputation: 2,529


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 9 guests