Jump to content

Gameobjects with predefined Behaviors


bambuk
 Share

Recommended Posts

Hello, I am originally coming from Unity3D, so I have some troubles understanding planning my project in phaser. 

I have different enemies in my game with different behaviors. In unity I would create socalled prefabs and assign special scripts to this prefrabricated gameobjects. Than I can load them into the game whenever I want.

Is it opossible to do something similiar in phaser? All I saw is that i can add sprites in code and work with them after added, but that seems quite complicated for my purposes.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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