How do I Export My Project to Work

Get help using Construct 2

Post » Sat Sep 27, 2014 3:58 am

When I run my game within C2 (with the run button), this is what my project looks like

Image

Completely fine, and working. However, when I export it as an HTML5 game and run it in my local developement server, I get this.

Image

Nothing works, the event sheets neither. I got this error in the JS console,
Uncaught TypeError: undefined is not a function
The script is minimized so this is the best I can do.

Image

How can I export this so that it performs exactly in C2.
B
4
Posts: 10
Reputation: 220

Post » Sat Sep 27, 2014 4:42 pm

I recommend you to not use the 'minify script' option on export. This causes a lot of errors, especially for the cocoonJS exporter. Try to uncheck it and try again.
Image Image iTunes: Match3 | Google Play: Match3
B
103
S
37
G
31
Posts: 1,164
Reputation: 28,928

Post » Sat Sep 27, 2014 5:20 pm

AndreasR wrote:I recommend you to not use the 'minify script' option on export. This causes a lot of errors, especially for the cocoonJS exporter. Try to uncheck it and try again.

Thank you, your solution worked fine! :)
B
4
Posts: 10
Reputation: 220

Post » Sun Sep 28, 2014 9:32 am

Awesome :) You're welcome.
Image Image iTunes: Match3 | Google Play: Match3
B
103
S
37
G
31
Posts: 1,164
Reputation: 28,928


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo and 25 guests