On Sunday, July 21, 2013 9:45:57 PM UTC+2, Sebastian Schlegel wrote:
>
> Some things that comes to mind:
>
> 1. use Sprite.delete before removing it from the list to make sure it's 
> removed from the batch immediately
>

done. Didn't change anything.

2. use TextureBin for loading textures
>

I'll do that. Thaks for the tip, I didn't know about that.
 

> 3. doing these image-transformations in your update-function may slow down 
> the whole thing
>

In fact, they don't occur on the particular map I'm drawing.
 

> Do you get that less fps only when the map is scrolled or even if you have 
> a static camera? Do you have animated sprites?
>
>
For the moment, there's no sprite. The only way to have something move at 
screen is to move camera. I'm trying to do this well before adding sprites.
 
Thanks a lot

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to