Commit graph

6 commits

Author SHA1 Message Date
trans_soup
bcf7ecba0a implement progress saving & loading. 2023-10-27 13:57:10 +02:00
trans_soup
434f1d9df8 little bit of refactoring. 2023-10-27 12:48:52 +02:00
trans_soup
b51b776137 rework level loading & restarting, and player death.
level loading is now based on events; the level loading code doesn't
know anything about how things are loaded, it just tells things to load.

player death is also now based on events; instead of directly restarting
the level, it simply sends out an event that the level handling code
listens for.
2023-10-27 12:35:04 +02:00
trans_soup
8867a60c94 implement basic loss condition and restarting.
the "level" will now restart (currently to a hardcoded state) when the
player touches an enemy.
2023-10-26 02:22:49 +02:00
trans_soup
3f057ea33c implement basic player movement. 2023-10-25 19:37:08 +02:00
trans_soup
8c62088bd1 initial commit. 2023-10-25 19:17:07 +02:00