Tweaked loading screen to pause for a split second to show 100%, tweaked menu hover color and effect, fixed indention.

This commit is contained in:
2018-09-09 19:19:26 -05:00
parent e57cf8500b
commit 54c480ecb8
3 changed files with 19 additions and 6 deletions

View File

@@ -104,14 +104,16 @@ class IMICFPS
def initialize(text, host, block)
@text, @host, @block = text, host, block
@color = @text.color
@hover_color = Gosu::Color.rgb(255, 127, 0)
@hover_color = Gosu::Color.rgb(64, 127, 255)
end
def update
if @host.mouse_over?(self)
@text.color = @hover_color
@text.shadow_size = 2
else
@text.color = @color
@text.shadow_size = 1
end
end