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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for pyanimation-0.3.tar.gz
Algorithm Hash digest
SHA256 895de22655c7f47fd0955bcc7691ec923facde2ae6dfa2b9a83def466d2f5bb3
MD5 734021f2104ba988f081d215f958a594
BLAKE2b-256 ee70072a710c32177ee35d2d2018ceaa3d624c075cec2c0d42320a4dae2bf4ab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyanimation-0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 00535ab5f9fa274a1ecef34b72c45648b9e2a2f787f9df6574fc42995bae4681
MD5 fbee6774343878df83fa85e32e582fb7
BLAKE2b-256 935b2a30bf0d60e251da1d9364a449250b2a979478905c4662f819df3aa82772

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