HOME       >>       Programming

Sprite Management In A Game I have ideas, want more


I'm currently making a game in Pygame (http://forums.xisto.com/topic/38927-pygame/), which doesn't allow animated gifs, so I need ways to store sprites and animate them. Right now I just have a bunch of nested associative arrays that are like this:

type of attack (stab, swing, not attacking) -> walking, jumping, or standing -> facing left or right -> list of images

This is all I can come up with, has anybody had success with anything different?


Xisto.com offers Free Web Hosting to its Members for their participation in this Community. We moderate all content posted here but we cannot warrant full correctness of all content. While using this site, you agree to have read and accepted our terms of use, cookie and privacy policy. Copyright 2001-2019 by Xisto Corporation. All Rights Reserved.