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.4.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

pyanimation-0.4-py2.py3-none-any.whl (4.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pyanimation-0.4.tar.gz.

File metadata

  • Download URL: pyanimation-0.4.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyanimation-0.4.tar.gz
Algorithm Hash digest
SHA256 03672797129986deff0166c8d7d7b3d0dce05a89dfbf501cb369aae329fe8609
MD5 b609272214bcc5d7ed81f12cee92eb14
BLAKE2b-256 6e2e0774aa27513b94054700e7e1c4da23809ffbc7e7eecdc5ada7c95ffcd0c6

See more details on using hashes here.

File details

Details for the file pyanimation-0.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pyanimation-0.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a3f7599be9acbfe144fb4ee8c9de108599d53bf721a21214cef97cc3479b4018
MD5 8f26bd5eebc3a01a01d914ed0b51c6f8
BLAKE2b-256 5ec8b8ae57fd21a6bcb094a4efa8e2a40957c5c6bb3f9a289fa9dfaf648513f8

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