Kaaengine documentation¶
Welcome to kaa - the 2D games engine for humans, written in python! You will be able to write 2D games quickly and efficiently, working with simple and intuitive interfaces that follow the zen of python philosophy. Windows is a first class citizen.
Installation:
pip install kaaengine
- Tutorial
- Part 1: Engine and window
- Part 2: Sprites and nodes
- Part 3: Organizing the game code
- Part 4: Handling Input
- Part 5: Physics
- Part 6: Sound effects and music
- Part 7: Drawing text
- Part 8: Working with multiple scenes
- Part 9: The camera
- Part 10: Transitions
- Part 11: Building executable file and distributing via Steam
- Kaa engine Reference
audio
— Sound effects and musiccolors
— Wrapper class for colorseasings
— Easing effects for transitionsengine
— Engine and Scenes: The core of your gamefonts
— Drawing text on screengeometry
— wrapper classes for vectors, segments, polygons etc.input
— Handling input from keyboard, mouse and controllerslog
— kaaengine logging settingsnodes
— Your objects on the scenephysics
— A 2D physics system, with rigid bodies, collisions and more!statistics
— Statistics modulesprites
— Using image assetstimers
— a simple timertransitions
— A quick and easy way to automate transforming your nodes- All kaa imports cheat sheet