Skip to main content

Animated sprites for PyGame!

Project description

# PyGame-AniSprite

[![GitHub
license](https://img.shields.io/github/license/lily-mayfield/pygame-anisprite.svg?style=flat-square)](https://raw.githubusercontent.com/lily-mayfield/pygame-anisprite/master/LICENSE)
[![PyPI Version](https://img.shields.io/pypi/v/pygame-anisprite.svg?style=flat-square)](https://pypi.python.org/pypi/pygame-anisprite/)
[![Code
Climate](https://img.shields.io/codeclimate/github/lily-mayfield/pygame-anisprite.svg?style=flat-square)](https://codeclimate.com/github/lily-mayfield/pygame-anisprite)
[![Travis](https://travis-ci.org/lily-mayfield/pygame-anisprite.svg)](https://travis-ci.org/lily-mayfield/pygame-anisprite)
[![Coverage
Status](https://img.shields.io/coveralls/lily-mayfield/pygame-anisprite.svg)](https://coveralls.io/github/lily-mayfield/pygame-anisprite)

**WARNING: THIS IS UNRELEASED/IS PRERELEASE**

PyGame-AniSprite is a 2D game engine 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`](https://www.pygame.org/docs/ref/sprite.html#pygame.sprite.Sprite).

Written because I didn't like `pyganim`...

Split off from my [Sappho game engine](https://github.com/lily-mayfield/sappho).

Be sure to checkout the `AUTHORS.md`!

[I have documentation!](http://lilymayfield.pro/pygame-anisprite/)

## 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 `CONTRIBUTING.md`.

## Getting Started

Install pygame:

* You can try `pip install hg+http://bitbucket.org/pygame/pygame`
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:
http://www.pygame.org/download.shtml

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

If you wanna contribute, please read `CONTRIBUTING.md`!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pygame-anisprite-1.0.0.tar.gz (6.7 kB view details)

Uploaded Source

File details

Details for the file pygame-anisprite-1.0.0.tar.gz.

File metadata

File hashes

Hashes for pygame-anisprite-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b3a4a3f7907cbbe200a2e8b82c0fd0ae10a1efb741f812c77ff725057f052703
MD5 aa6d571c391df643bb5d38721752684a
BLAKE2b-256 e658f749ed858c058f161489e8331edaebe871d9a397a92040c7749809298a07

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page