Skip to content

Conversation

paweljarosz
Copy link
Contributor

Example shows how to use factory with properties to change the initial script properties of created instances.

#122

@paweljarosz
Copy link
Contributor Author

I updated the example @britzl :

It's now spawning different enemies with different properties (and bullets are also spawned, but bullet is without any property):

thumbnail

Copy link
Contributor

@britzl britzl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some typos

@paweljarosz
Copy link
Contributor Author

Thank you @britzl , fixed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants