On 22/05/13 09:15, Busata wrote:
> [...]
> 
> I.e. Anyone has a suggestion on how to split Sprite and its position 
> while still being able to add it to the batch?
> 

Python uses references so you can have a Sprite in a batch and still
keep it in a different place (ie. a list of entities). When you update
the position of the Sprite in the list, the Bath will draw it in the new
position.

I don't know if there's a better way, but that is how I would do it :)

Regards,

Juan

-- 
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 http://groups.google.com/group/pyglet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to