Skip to content
Discussion options

You must be logged in to vote

I think this is a completely valid approach to despawn all sprites and spawn new ones upon state change. This provides most flexibility between states, for example in vastly different numbers of sprites completely not related to the entities in the state before.

What is your use case?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@gmoller
Comment options

Answer selected by gmoller
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants