Skip to main content

A pygame animation package

Project description

Pyanimation
===========
A python module to easily create animations in pygame

.. image:: /examples/images/spritesheet.png


Setup
-----

.. code-block:: bash

$ pip install pyanimation

Code sample
-----

.. code-block:: python

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

Look in the example folder for complete examples.

.. image:: /examples/images/showcase.gif


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.3.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

pyanimation-0.3-py2.py3-none-any.whl (4.3 kB view hashes)

Uploaded Python 2 Python 3

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