Grandisle's Forum Posts

  • 2 posts
  • i have it too. when i destroy my player on purpose i get the error

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 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

    localhost/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.

  • 2 posts