initial commit

This commit is contained in:
2026-03-25 07:13:37 +00:00
commit 8d643a3842
28 changed files with 790 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
class Settings < Scene
def initialize
super
@font = Gosu::Font.new(24)
end
def draw
Gosu.draw_rect(0, 0, SCREEN_SIZE[0], SCREEN_SIZE[1], Gosu::Color::BLACK)
@font.draw_text("Settings Scene - Press ESC to return to Menu", 50, 50, 1, 1, 1, Gosu::Color::WHITE)
end
def button_down(id, _pos)
$bus.emit(:change_scene, Menu.new) if id == Gosu::KB_ESCAPE
end
end