Updated menus, added background to Tools

This commit is contained in:
2020-05-04 11:13:51 -05:00
parent 06fb2c0e43
commit fd3785cdcd
7 changed files with 59 additions and 40 deletions

View File

@@ -19,17 +19,10 @@ class IMICFPS
end
def draw
menu_background(@primary_color, @color_step, @transparency, @bar_size, @slope)
menu_background(@primary_color, @accent_color, @color_step, @transparency, @bar_size, @slope)
fraction_left = ((Gosu.milliseconds - @start_time) / (@time_to_live - 200).to_f)
Gosu.draw_quad(
0, 0, @primary_color,
window.width, 0, @primary_color,
window.width, window.height, @accent_color,
0, window.height, @accent_color
)
if fraction_left <= 1.0
Gosu.draw_circle(
window.width / 2,