mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 15:42:35 +00:00
Tweaked Boot state transition effect
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user