Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

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

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page