On Wed, Oct 6, 2010 at 9:23 PM, Crispin Wellington
<[email protected]> wrote:
> I had a look at your code. What's happening is you are only moving map tiles
> on the screen jump update that _will appear_ on the new screen.

Thank you very much :) I recall trying to do that early on in my
troubleshooting process, I must have done it incorrectly.

> Note this is not the right way to do this, as tiles are touched twice, and 
> many times
> are set to -100,-100 that never need to be. The better solution is to expand 
> your
> startX,startY,endX,endY to include the rectangle of the new screen unioned 
> with the
> rectangle from the old screen so both new tiles appear, and old tiles get 
> removed
> somehow.

This works for me too. Again, thank you very much.

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en.

Reply via email to