BoarHat is a companion library for pyglet that provides implementations of commonly used objects. It supports pyglet 1.3+ and Python 3+.
BoarHat itself is not a full game/graphics engine. Rather, it gives you structures to help manage your pyglet application and utilities to make common tasks easier.
BoarHat can will do
- Scene and layer management
- Layer translations that are useful for sidescrollers and overworlds
- Support Tiled tile maps
- Provide utilities like automatic anchor placement on images, a better keyboard input manager
and more!
BoarHat is in very early development. It's being written for PyWeek (provided I'll actually have time to participate).
Make sure you have pyglet
pip install pyglet
Then download this repo and run setup.py
python setup.py install
This will be explained in the wiki. For now, check tests/__init__.py
to get an idea of what you can do.
Right now, I'm implementing basic functionality for scenes and layers. We'll then be creating several test projects to experiment with how this scene-layer-object abstraction works, determine it's pros and cons, and figure out what needs to be adjusted to make the experience better.
Named "BoarHat" because it sits on top of pyglet (like a hat!) and because some of my consulting team was watching "The Seven Deadly Sins".