bambuk

Gameobjects with predefined Behaviors

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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.