mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 15:42:35 +00:00
Updated menus, added background to Tools
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user