Skip to content
Animated sprites for PyGame!
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


GitHub license PyPI Version Code Climate Travis Coverage Status

PyGame-AniSprite offers animated sprites for Python (2 and 3)/PyGame. What's special about this project is how an AnimatedSprite is almost indistinguishable from a normal pygame.sprite.Sprite.

Written because I didn't like pyganim...

Split off from my Sappho game engine.

Be sure to checkout the!

I have documentation!

Design Philosophy

  1. Don't interfere with the way people build their pygame games
  2. We are not automating game logic
  3. PyGame-AniSprite modules may not import other PyGame-AniSprite modules
  4. Inherit from pygame objects when possible; use conventional pygame models/architecture.
  5. Consistency.
  6. Simplicity trumps all else.
  7. Well documented.
  8. Code is easy-to-test. We show that with our 100% test coverage.

For more check

Getting Started

Install pygame:

  • You can try pip install hg+ but it may not work...
  • Ubuntu, Python 2.7: sudo apt install python-pygame
  • FreeBSD, Python 2.7: sudo pkg install py27-game
  • OSX, Python 2.7: available in homebrew (note that there is a caveat in El Capitan [see: #63])
  • For any other operating system, or more details, see:

Install pygame-anisprite: pip install -r requirements/main.txt .

If you wanna contribute, please read!

You can’t perform that action at this time.