An experiment building a Roguelike with libtcod and Python
Events start in the Interface. The interface gets first crack at any incoming events. If the interface doesn't handle the event, it is given to the engine. The engine has an EngineEventHandler that yields actions just like the event handler prior to this change. The interface's event handler passes events to each window in the interface. Windows can choose to handle events however they like, and they return a bool indicating whether the event was fully handled. |
||
---|---|---|
.vscode | ||
erynrl | ||
first_steps | ||
fonts | ||
test | ||
.gitignore | ||
.pep8 | ||
.pylintrc | ||
bsp_visualizer.py | ||
ca.py | ||
going_rogue.code-workspace | ||
logging_config.json | ||
Makefile | ||
README.md | ||
requirements.txt |
Going Rogue
An experiment building a Roguelike with libtcod and Python
libtcod
is a library that provides a bunch of useful routines for building
Roguelikes. There are C++ and Python interfaces.
There are Python docs.
I also found a "make a Roguelike with libtcod
" tutorial on Rogue Basin.