From b7dea8016b5b1328808e28b76cc12343907de63e Mon Sep 17 00:00:00 2001 From: Arnold <27396817+arngo@users.noreply.github.com> Date: Sun, 26 Dec 2021 18:39:15 -0500 Subject: implement ai randomizer, gameover screen, and other bug fixes * Cleaned up factory. Fixed most bugs with death(last bug should be with move camera). * check if player entity is nil before shooting or moving camera * implement ai randomizer * separate button click detection to new system * implement gameover screen with button to return to menu * use reverse_each instead of cloning Co-authored-by: realtradam --- app/scenes/scenes.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/scenes/scenes.rb') diff --git a/app/scenes/scenes.rb b/app/scenes/scenes.rb index 3d11802..f0cdf17 100644 --- a/app/scenes/scenes.rb +++ b/app/scenes/scenes.rb @@ -1,8 +1,8 @@ FF::Scn.new('BoidRules') -FF::Scn.new('Debug') FF::Scn.new('Camera') FF::Scn.new('Cleanup') FF::Stg.add( - FF::Scn.new('TitleScreen'), + FF::Scn.new('UI'), FF::Scn.new('Render'), + FF::Scn.new('Debug') ) -- cgit v1.2.3