From f3c3a1047f73cc2bd83f2cc5d411a6c380a102a0 Mon Sep 17 00:00:00 2001 From: Cyberarm Date: Sun, 3 May 2020 23:39:52 -0500 Subject: [PATCH] Tweaked Boot state transition effect --- lib/states/game_states/boot.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/states/game_states/boot.rb b/lib/states/game_states/boot.rb index 5248704..68e1839 100644 --- a/lib/states/game_states/boot.rb +++ b/lib/states/game_states/boot.rb @@ -16,7 +16,7 @@ class IMICFPS def draw menu_background(@primary_color, 10, 200, 50, 250) - fraction_left = ((Gosu.milliseconds - @start_time) / (@time_to_live - 250).to_f) + fraction_left = ((Gosu.milliseconds - @start_time) / (@time_to_live - 200).to_f) Gosu.draw_quad( 0, 0, @primary_color, @@ -25,7 +25,7 @@ class IMICFPS 0, window.height, @accent_color ) - if fraction_left <= 1.15 + if fraction_left <= 1.0 Gosu.draw_circle( window.width / 2, window.height / 2,