Turn-Based Battle Engine Demo

Published 2023-06-12


I put together an engine for turn-based battling. I plan to use this for a boss gauntlet game I would like to do in the future or some other project. For the time being, I focused on laying out the foundations and would like to showcase the engine I put together, and maybe some of you would like to incorporate it into your own game. The demo does not contain any audio.

Features
-The general setup with numerous comments on the functions and commands (from a beginner programmer)
-Defense and magic system
-1 boss to fight with a Pseudo AI setup.

Controls

Up and Down Arrow Keys: Move the menu cursor
Left and Right Arrow Keys: Move the magic menu cursor
Z: Confirm action.

Notes
-Defend recovers your HP and HP in addition to getting less damage.
-The boss is not that easy.
-I made an HP typo on one of the attacks. Don't find it currently worthwhile to re-upload.

Disclaimer
I am an amateur at coding so pardon any inefficient or bloated codes.