Game Engine for Chilly Milly Games.
This library build on top of an older pre-release of the python arcade library. For use with a more recent version, or even the full v3 release, cme must be updated first.
First thing to do is to call the init_cme
function:
from cme import init_cme
init_cme(app_name="My Game")
The name will later be used to figure the optimal config and data directories.
To setup the logging module you should configure the engine's logger:
from cme.logger import configure_logger
import logging
configure_logger(level=logging.INFO, debug=True)
If the level is left out, it will be logging.DEBUG
or logging.WARNING
, depending on the __debug__
constant. Similarly the debug parameter defaults to said constant.
Despite having an action for testing, GitHub Actions is running headless so some functions (with the requires_window
mark) won't run there, requiring local testing before every merge as well.