Started working on this 'arena tester' tool that would let me load an enemy and test them, but then realized I could just make it so I can spawn enemies in the game. I'm keeping the arena around as it will be useful later as a scriptable testing tool, but for now just spawn and test.

This commit is contained in:
Zed A. Shaw 2025-04-04 12:45:55 -04:00
parent b6c1eba1b3
commit 4f090159ab
14 changed files with 524 additions and 58 deletions

View file

@ -282,6 +282,11 @@ namespace gui {
case KEY::O:
autowalking = true;
break;
case KEY::Equal:
$levels.spawn_enemy("KNIGHT");
$main_ui.update_level($level);
run_systems();
break;
case KEY::L:
event(Event::STAIRS_DOWN);
break;