r198 asm.js physics NW with minify

Bugs will be moved here once resolved.

Post » Sat Mar 07, 2015 12:52 am

Problem Description
Physics layout does not run if exported to NW (v12) with asm.js and script minify selected (black screen). All other export options and Box2d Web function correctly, including HTML5 export in all browsers. Additionally, all previews including NW function correctly....

Attach a Capx
Physics asm nw export problem.capx


Description of Capx
The capx is a probably not required - it is the Physics Rolling Platformer demo saved using r198.

Steps to Reproduce Bug
  • Export to latest NW, select minify script
  • Run the NW export

Observed Result
Black screen only when exported to NW with script minify - 32 and 64 bit.

Expected Result
Not black screen.

Affected Browsers
  • Chrome: (NO)
  • FireFox: (NO)
  • Internet Explorer: (NO)
  • NW: (YES)

Operating System and Service Pack
W8.1 x64

Construct 2 Version ID
r198 64 bit / NW v0.12.0
You do not have the required permissions to view the files attached to this post.
I only occasionally visit - I'm learning C# for Unity, but c2 is still a respectable game engine imo....
B
69
S
18
G
65
Posts: 2,195
Reputation: 41,465

Post » Sat Mar 07, 2015 1:13 am

I didn't try NW.JS 12, but I also get an error exporting the test project above with nw 10.5. Disabling minify fixes the problem.

Must be something to do with the minification botching a var name/string.
Don't lose your work. Backup your game with Dropbox.
B
44
S
10
G
10
Posts: 1,106
Reputation: 9,187

Post » Sat Mar 07, 2015 1:22 am

@TiAm, thanks for testing 10.5 - I should have thought of that!
I only occasionally visit - I'm learning C# for Unity, but c2 is still a respectable game engine imo....
B
69
S
18
G
65
Posts: 2,195
Reputation: 41,465

Post » Sat Mar 07, 2015 2:04 am

Yes, previous version did not work for me either.
Jarrod Davis
Owner/Technical Director
Jamarda Digital
B
13
S
4
G
2
Posts: 8
Reputation: 1,954

Post » Mon Mar 09, 2015 2:11 pm

Thanks, should be fixed in the next beta.
Scirra Founder
B
382
S
223
G
86
Posts: 23,991
Reputation: 189,739


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest