mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 15:42:35 +00:00
Added comments
This commit is contained in:
@@ -34,15 +34,20 @@ class Window < Gosu::Window
|
|||||||
end
|
end
|
||||||
|
|
||||||
@background.draw(0, 0, 0)
|
@background.draw(0, 0, 0)
|
||||||
|
|
||||||
|
# Box
|
||||||
draw_rect(
|
draw_rect(
|
||||||
Gosu.screen_width/4, 0,
|
Gosu.screen_width/4, 0,
|
||||||
Gosu.screen_width/2, Gosu.screen_height,
|
Gosu.screen_width/2, Gosu.screen_height,
|
||||||
Gosu::Color.rgba(100, 100, 100, 150)
|
Gosu::Color.rgba(100, 100, 100, 150)
|
||||||
# Gosu::Color.rgba(@base_color.red+@color_step, @base_color.green+@color_step, @base_color.blue+@color_step, 200)
|
# Gosu::Color.rgba(@base_color.red+@color_step, @base_color.green+@color_step, @base_color.blue+@color_step, 200)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Texts
|
||||||
@title.draw
|
@title.draw
|
||||||
@singleplayer.draw
|
@singleplayer.draw
|
||||||
|
|
||||||
|
# Cursor
|
||||||
fill_quad(
|
fill_quad(
|
||||||
mouse_x, mouse_y,
|
mouse_x, mouse_y,
|
||||||
mouse_x+16, mouse_y+16,
|
mouse_x+16, mouse_y+16,
|
||||||
|
|||||||
Reference in New Issue
Block a user