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.

Source Distribution

pyanimation-0.7.tar.gz (4.2 kB view hashes)

Uploaded source

Built Distribution

pyanimation-0.7-py2.py3-none-any.whl (4.9 kB view hashes)

Uploaded py2 py3

Supported by

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