Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to destroy entities? #17

Closed
lukechatton opened this issue Mar 10, 2019 · 2 comments
Closed

How to destroy entities? #17

lukechatton opened this issue Mar 10, 2019 · 2 comments

Comments

@lukechatton
Copy link

What is the proper way to destroy entities? I see there is a method for swapping to a new set of entities, but I'm trying to just remove a single entity.

Also, thanks for the awesome engine! Loving it so far!

@lukechatton
Copy link
Author

Managed to figure it out by reading through your donkey kong example game. For anyone else stuck on the same problem, checkout https://github.com/bberak/react-native-donkey-kong/blob/master/src/utils/index.js

@bberak
Copy link
Owner

bberak commented Mar 10, 2019

Thanks @lukechatton - all the best with your project. Let me know if you run into any other roadblocks.

Cheers.

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

No branches or pull requests

2 participants