Javascript error

Bugs will be moved here once resolved.

Post » Tue Sep 11, 2012 7:49 pm

Hi I'm new to construct 2 and have just recently downloaded and installed the 9/11/12 update.

I've been trying to get a hang of the basics of construct 2, to make a simple platform shooter.

i had the final event on the event sheet say:

Event:
On Player destroyed
Action:
System, wait 2 seconds
System, reset the global variables [health and score for my case]
System, reset layout

When running the preview this appears:

Javascript error!
TypeError: inst is undefined
http://localhost:50000/layout.js, line 250

By removing reset global variables the error is resolved
When reset global variables is put back in the error occurs

This final event in my even sheet was working before in installed the update. I don't understand why this error is suddenly occurring.

Please help.
B
3
Posts: 2
Reputation: 329

Post » Wed Sep 12, 2012 1:44 pm

Please see how to report bugs. Can you share the affected .capx? We cannot do anything about the problem without it.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Thu Sep 13, 2012 3:38 pm

Does r103.2 fix this?
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Mon Sep 17, 2012 2:06 pm

Closing due to inactivity.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 0 guests