Jump to content

Tilemap collision not working


zalg
 Share

Recommended Posts

Hi,

 

Tilemap collision is not working in my game. I have searched for hours on google and tried everything I could think of but nothing works, my player always walks through my collision layer without stopping and collide() in update() is always false.

 

Here is my code: http://hastebin.com/aheqakuzod.js

 

I'm using Phaser v2.4.0 from the dev branch

 

If anyone can help, please do, my project is blocking because of this and I don't know what to do next...

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.

Guest
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.

Loading...
 Share

  • Recently Browsing   0 members

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