Fork me on GitHub

Assets

All assets must be placed in the static/ folder. Assets may include sprites, sprite animations and sounds. Assets must be declared in the init lifecycle function before use. asset loading is asynchronous and pyckitup will panic if not all assets are loaded.

The asset initializer functions are detailed in the qs module section.

Directory Structure

/game
|-run.py
|-module.py
|-/static        <- place your assets here
| |-sprite.png
| |-anim.png
| |-sound.wav