Adding enemies and encounters POC


I've added enemy placement and the start of encounters. With the limited space on the screen I've been wondering how to display the stats of all the enemies and player characters on screen, and also how many enemies should be allowed in a battle. I think I will end up having a display at the top of the screen to display the currently selected character stats since displaying it all on screen at once ala Dungeon Encounters should be too crowded.

As I add more state, I'm having trouble managing all the global state. I kind of wish I could create separate classes and instances for each object, but that's a very non-Lua way of thinking about it. Everything is a table! 

Luckily I'm not using even 10% of the tokens allowed in a Pico-8 cart, but then again that doesn't leave much room for too many more features like leveling up, shops, equipment, NPCs, and all the other things in an RPG. Dialog especially will be tricky. I'll have to limit my scope carefully.

Files

dungeon.zip Play in browser
Jan 03, 2023

Leave a comment

Log in with itch.io to leave a comment.