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, "run")
screen.blit(girl.update_surface(), (girl.x, girl.y))
Look in the example folder for complete examples.
.. image:: /examples/images/showcase.gif
===========
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, "run")
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.6.tar.gz
(4.2 kB
view hashes)
Built Distribution
Close
Hashes for pyanimation-0.6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce0349dcbc9b398cde8f05a7de92695e91a55667e23416efe103e846fd87de3a |
|
MD5 | 5e560f464a41fe46d79782b0df53d787 |
|
BLAKE2b-256 | 94f25739f89ab3a24ea895a1c6a250f43029835759cc3f182cadbbacbb35dcf3 |