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

Re: [pygame] Growing Pygame



> I wouldn't call it need, but such a package would definitely be used by
> me.  I am always rebuilding engines in slightly different ways for side
> scrollers, top-down strategy, turn based rpg, etc.

I found that the Sprite class was kind of a placeholder, and ended up
writing code to load an image for it and chop it into animation frames
with options like accounting for "padding" between the animation frames.
Would this code be helpful?

They're more specialized, but I could also offer some basic RPG stuff --
the ability to load types of inventory items (weapons, armor etc.) from
XML, and to have a basic RPG character class with hit points etc. and
functions for getting/setting stats. I'd want to replace the homemade
XML-reading code I wrote though, and could use help with that.

Kris