Intel XDK project export can't run when using Box2D.asm.js !

Bugs will be moved here once resolved.

Post » Thu Feb 12, 2015 2:11 am

Problem Description

My physics based Android game project uses Box2D.asm.js physics engine. when tried to build under Intel XDK I could build successfully but the app freezes with black screen immediately after loading the game assets. This is also occurred when tried to test my project with XDK emulators. However, this issue doesn't exist when using Box2d web engine .


Attach a Capx
Since it is difficult to attache my project, I created a sample capx using the physics Catapult sample, it shows same issue with XDK

Description of Capx
NA

Steps to Reproduce Bug
[list=]
  • Create Physics game
  • use Box2D.asm.js
  • Export to Cordova
  • import to Intel XDK
  • build it for Crosswalk for Android

Observed Result
Black screen after loading assets. application stops

Expected Result
NA

Affected Browsers
NA

Operating System and Service Pack
Windows 8.1

Construct 2 Version ID
Construct 2 r196.2
You do not have the required permissions to view the files attached to this post.
Last edited by graphimixer on Thu Feb 12, 2015 3:29 pm, edited 2 times in total.
B
24
S
8
G
1
Posts: 12
Reputation: 2,067

Post » Thu Feb 12, 2015 2:38 am

You must include a Capx it's not optional just make a Capx that includes the issue . Have you tried Building one of the included Templates to see if the issue is this there?
B
42
S
17
G
2
Posts: 850
Reputation: 6,209

Post » Thu Feb 12, 2015 3:27 pm

Thank you volkiller730,

I just added a test capx in the main post using the physics catapult sample project. This is issue appears with XDK when Box2d asm.js is used.

Regards
B
24
S
8
G
1
Posts: 12
Reputation: 2,067

Post » Sun Feb 15, 2015 2:44 am

Same problem. Was fixed by switching back to box2dweb until intel xdk supports asm.js
B
21
S
5
G
1
Posts: 102
Reputation: 1,746

Post » Mon Feb 16, 2015 4:51 pm

Closing as presumably a duplicate of https://www.scirra.com/forum/exported-to-web-version-with-asm-js-selected-freezes-ident_t124211. Skip minifying on export to work around.
Scirra Founder
B
399
S
236
G
89
Posts: 24,519
Reputation: 195,361


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 4 guests