v0.2.0-alpha: Guest Book and House Rules

Adds the Guest Book, Settings, House Rules, and guest unlocks on the 20-room board. Rats still use the shared Crumb token.
This commit is contained in:
Ratdoku Builder committed 2026-12-02 10:32:45 -06:00
1 parent f4b4a773f3
commit f957cd3c4e
19 files changed
+905 -34

No files matched your search

+28
View File
@@ -1,6 +1,9 @@
extends Control
signal play_pressed
signal guest_book_pressed
signal settings_pressed
signal rules_pressed
func _ready() -> void:
@@ -49,8 +52,33 @@ func _ready() -> void:
column.add_child(play_center)
play.pressed.connect(func() -> void: play_pressed.emit())
var secondary := HBoxContainer.new()
secondary.alignment = BoxContainer.ALIGNMENT_CENTER
secondary.add_theme_constant_override("separation", 10)
column.add_child(secondary)
var book := UI.button("Guest Book", false, 52)
book.custom_minimum_size = Vector2(150, 52)
book.pressed.connect(func() -> void: guest_book_pressed.emit())
secondary.add_child(book)
var rules := UI.button("House Rules", false, 52)
rules.custom_minimum_size = Vector2(160, 52)
rules.pressed.connect(func() -> void: rules_pressed.emit())
secondary.add_child(rules)
column.add_child(UI.label("No ads. No lives. Just rats.", 16, Palette.MUTED))
var settings := UI.button("Settings", false, 40)
settings.add_theme_font_size_override("font_size", 16)
settings.set_anchors_preset(Control.PRESET_TOP_RIGHT)
settings.offset_left = -150
settings.offset_top = 24
settings.offset_right = -24
settings.offset_bottom = 64
settings.pressed.connect(func() -> void: settings_pressed.emit())
add_child(settings)
func _make_mascot() -> Control:
if ResourceLoader.exists("res://art/crumb.png"):