Skip to main content

A pygame animation package

Project description

A python module to easily create animations in pygame

https://raw.githubusercontent.com/estevaofon/pyanimation/master/examples/images/spritesheet.png

Setup

$ pip install pyanimation

Code sample

girl = Animation("images/spritesheet.png")
girl.create_animation(0, 0, 125, 125, "run")
screen.blit(girl.update_surface(), (girl.x, girl.y))

Look in the example folder for complete examples.

https://raw.githubusercontent.com/estevaofon/pyanimation/master/examples/images/showcase.gif

Quick Guide

Tutorial - Portuguese

Project details


Download files

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

Files for pyanimation, version 0.7
Filename, size File type Python version Upload date Hashes
Filename, size pyanimation-0.7-py2.py3-none-any.whl (4.9 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size pyanimation-0.7.tar.gz (4.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page