Jump to content

Tiled object layers causing Phaser game to hang


Recommended Posts



So, I've got a small Phaser game and I'm using Tiled to create my levels. I currently have two tile layers that work great.


However, when I add an Object layer with a single object PNG in it, my game hangs: Chrome pauses for a bit and goes to the "aw snap!" page and Firefox throws an Unresponsive Script error.


Interestingly this happens as soon as I add anything to my Tiled items list - I'm not even instantiating anything in Phaser yet. All I need to do to cause the error is create a new Object layer, add a PNG, and then when I try that level it tips over. For some reason as soon as it exists in the JSON output it causes problems.


Has anyone got any idea why this might be?



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...