Jump to content

Convert tiles of map in sprites with collisions, etc...


dandorf
 Share

Recommended Posts

I use tiled map editor to create maps json my game. 

 

I've done that the map is loaded and all good. Now, I've made ​​my character shoot. And I want those shots collide with the wall (and call a function to delete the shot with an animation). 

 

I can not do that from phaser to detect specific tile (tiles hard block) to treat this as a sprite tile. And put in the update () function to the group of bullets that hit my character collides with these tiles (sprites). 

 

Help please

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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