[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] sprite groups and tilesheets



James Paige wrote:

If you are making a game with scrolling, you should probably get used to the idea that you will be re-drawing everything every time.

Even if you're not doing scrolling, redrawing everything each
frame is usually the simplest thing to do.

In a tile-based game, you end up blitting just as many pixels
either way, and that's usually where the bottleneck is.

If optimization is needed, use dirty rects or something like
that.

--
Greg