[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] [Pygame] Tileset Animation
Howdy. I'd like to add to the decent suggestions.
If all you want to do is animate a sprite from a tile sheet, you can use the
Spritesheet recipe. It might be useful as is, or you can tailor it to your needs. While you're there, be sure to check out the
pygame cookbook to fill up your bag of tricks.
In addition to the resources mentioned for working with Tiled map files, there is my favorite
pytmxloader which comes with a very robust pygame demo.
If you care to study a great example of a map scrolling technique, I always recommend
Retro Game Library. I call this a great example because it is a complete yet simple game framework, making it exceptionally instructional.
The following few projects use Tiled, pytmxloader with pygame to great effect:
three pyweek competitions, a
pyweek warmup, and the tile scrolling engine
Gummworld 2. I imagine there are more out there. Projects such as these may offer a potential for higher learning.
Finally, you might get more ideas and suggestions on IRC
freenode.net#pygame. Just ask your question and give it some time. Folks there tend to stay logged in so they can catch up on chat once in a while. Long periods of silence are not uncommon. They are not ignoring you, just sleeping or gaming or watching TV, or doing things that are certainly better left unknown. :)
Gumm