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

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for pyanimation-0.5.tar.gz
Algorithm Hash digest
SHA256 bfe8e43502086aad45ca6921435ec148c20a2515f85362e15c24fa0059e75e57
MD5 e6699559fa5d0f30ab07734700811fd4
BLAKE2b-256 1a1ecf390f5f1f333bd8428de4729c6f8c229ae57c44313b1a7601cca4a76344

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyanimation-0.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5052dcfaa3ce11d2ea60ebd41ce9d7697a3d40bf1c56d9cc1fa5c2fddc24691d
MD5 cfcdbd5a0dc80f6fa2103f09d781f05b
BLAKE2b-256 66b3e239717e3aa6527d9ff48452eece0e8718c80de41acf299e23fe340d9b80

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