I don't know what OpenGL transforms are, but I have implemented methods 
that only process the tiles they need to: newly-off-screen tiles are made 
invisible, newly-on-screen tiles are made visible, and all currenly-visible 
tiles are relocated to new x,y coordinates.  This can still be hundreds of 
sprites that need updating, because those x,y numbers need to be adjusted 
even for the tiles in the middle of the screen.
 

On Thursday, April 25, 2013 1:49:51 PM UTC-5, Juan J. Martínez wrote:

>
> Coco2d uses OpenGL transforms to move the Sprites required for the part 
> of the map you're drawing so it only needs to remove/add a row (or 
> column). Well, more or less. 
>
>

-- 
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