[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pygame] side scroller




> Huh! I'd figured that one big image would be quicker
> than a bunch of smaller images, but I never tested it out.
> I'll have to try tiling in the next version. Thanks!

You could keep a screen-sized buffer and fill the edges with tiles
whenever the level needs to be scrolled. This way you'll get the best of
both worlds (ie. reduced memory consumption, but acceptable performance).

--
Sami Hangaslammi

____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org