Jump to content

Creating enemy Objects using createFromObjects in Phaser and TILED


GabZ
 Share

Recommended Posts

Hi,

Good day everyone, I really don't know how to start my sentence but all I know is I'm very new to Phaser , TILED also in game development.  I'm self training right now by reading and watching Phaser and TILED tutorials. Currently I'm working on my first game and I'm having trouble figuring out what I'm missing and where I'm wrong in my code.

What i want to do is very simple but i can't seem to make it work,i just want to create multiple enemies using createFromObjects and every time my player touches them he loses HP or restarts the level. What happens is the player only touches the last enemy object created and the first ones he just passes through. Any suggestions would really help and Thank you in advance.

 

I've finally found my solution but thanks anyways.

 

 

Edited by GabZ
Found an answer
Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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