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:
parent
b6c1eba1b3
commit
4f090159ab
14 changed files with 524 additions and 58 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue