From 36f79c6f57e7ba64e2e0ac2c534581f9e446dae0 Mon Sep 17 00:00:00 2001 From: cyberarm Date: Sat, 9 Jan 2021 11:22:25 -0600 Subject: [PATCH] Updated boot screen to shrink logo to fit on smaller screens, changed delay back to 5 seconds --- lib/states/boot.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/states/boot.rb b/lib/states/boot.rb index c0cd341..1e46128 100644 --- a/lib/states/boot.rb +++ b/lib/states/boot.rb @@ -13,7 +13,7 @@ class IMICRTS @last_update = Gosu.milliseconds @update_interval = 200 - @switcher = CyberarmEngine::Timer.new(3_000) do + @switcher = CyberarmEngine::Timer.new(5_000) do push_state(MainMenu) end @@ -56,7 +56,7 @@ class IMICRTS ) - @logo.draw(window.width/2 - @logo.width/2, window.height/2 - (@logo.height/3 + 14), 0) + @logo.draw(window.width / 2 - @logo.width / 4, window.height / 2 - (@logo.height / 4) + 48, 0, 0.5, 0.5) @text.draw_text(@status, window.width - (@text.text_width(@status.gsub(".", "")) + @text.text_width("...")), window.height - @text.height, 0) end