Thanks for your reply Ben!
I was reading about Batches and that changing them is expensive, so I was 
starting to lean in the direction of #2.
But it is a good thing to get confirmation!
Is it still reasonable to change the player sprite's batch from old level 
to new when transitioning between levels?
Is there a performance difference between changing the sprite's batch and 
destroying the sprite in the old level (batch) and creating a new sprite in 
the new level (batch)?

I'm trying to make a Sokoban style game that has free exploration of the 
game rather than linear progression of stages with puzzles.
So most of the time the player has more than one puzzle that they can solve 
to progress in the game.
The game is divided between levels/rooms, and the player can move between 
them.
There is a mechanic in the game that makes it like 'Sokoban Metroidvania', 
as in you will gain powers that will help you progress in other parts of 
the game.

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to