Asm.JS for Mobile

Discussion and feedback on Construct 2

Post » Wed Feb 18, 2015 7:07 pm

Hello!

I noticed that on my android device asm.JS causes some lag, and by lag I mean that sometimes it freezes for something like 0.1 seconds.
Instead, Box2DWeb works perfectly.

Also, I've read about a future Box2DWeb deprecation, but why removing it if it works better than asm.js on mobile?

What are your thoughts?

*Sorry for my english
*The CPU is Snapdragon800
*My app is compiled with Intel XDK
B
11
S
3
G
1
Posts: 91
Reputation: 997

Post » Wed Feb 18, 2015 7:14 pm

"Also, I've read about a future Box2DWeb deprecation, but why removing it if it works better than asm.js on mobile?"

because ashley does not agree with those issues it seems (if you can reproduce it consistently, might be worth a bug report). However I still think this a fishy situation (some people are seeing and it seems mesuring noticeable issues with asm.js, fof a not so faster result, not sure why though).
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
43
S
18
G
18
Posts: 2,106
Reputation: 16,436

Post » Thu Feb 19, 2015 12:09 am

Oh, I'm glad to know I'm not the only one who experienced that!
That said, on pc I found the opposite situation:
-(very)Fast simulation with asm.js
-some micro-lags with box2D web.

Thank you for your Reply :)
B
11
S
3
G
1
Posts: 91
Reputation: 997

Post » Thu Feb 19, 2015 2:33 am

As an alternative, a lot of people (including myself) are quite fond of the third party chipmunk physics plugin (courtesy R0J0hound):

behavior-chipmunk-physics_t110815
Don't lose your work. Backup your game with Dropbox.
B
43
S
10
G
10
Posts: 1,106
Reputation: 9,157

Post » Thu Feb 19, 2015 5:04 pm

@TiAm How is it in terms of performance?
B
11
S
3
G
1
Posts: 91
Reputation: 997

Post » Thu Feb 19, 2015 9:21 pm

Similar to box2d, maybe a hair lower cpu usage. The framerate seems more consistent though. I've only used it a bit, so I'm probably not the best person to ask. ;)
Don't lose your work. Backup your game with Dropbox.
B
43
S
10
G
10
Posts: 1,106
Reputation: 9,157

Post » Fri Feb 20, 2015 9:34 am

I'll try it :)
B
11
S
3
G
1
Posts: 91
Reputation: 997


Return to Construct 2 General

Who is online

Users browsing this forum: SyberHasky and 4 guests