feat(daily): add daily rooms, streaks, and profile frames

A deterministic daily room rotates through the 30-level pool and tracks current and best streaks in save version 3. Daily wins are separate from campaign progress. The new Profile screen shows framed Crumb, stats, and selectable frames unlocked by rooms or best streak.
This commit is contained in:
Ratdoku Builder committed 2026-12-02 22:29:32 -06:00
1 parent 77ff5b48de
commit 7e6a338240
11 files changed
+680 -44

No files matched your search

+22
View File
@@ -24,6 +24,11 @@ func _run() -> void:
var main = current_scene
_reset_save()
main.show_screen("profile")
await _settle()
_save("res://screenshots/profile.png")
main.show_screen("home", false)
main.open_settings("home")
await _settle()
_save("res://screenshots/settings.png")
@@ -48,6 +53,20 @@ func _run() -> void:
await _settle()
_save("res://screenshots/rules_tutorial.png")
main.show_screen("home")
main._on_daily()
await _settle()
_save("res://screenshots/daily.png")
for i in range(12):
if main.game.win_shown:
break
main.game.board.hint()
await process_frame
await create_timer(0.8).timeout
await RenderingServer.frame_post_draw
_save("res://screenshots/daily_win.png")
main.show_screen("home", false)
main.show_screen("game")
main.game.start_level(0)
await _settle()
@@ -76,6 +95,9 @@ func _reset_save() -> void:
var save = root.get_node_or_null("SaveGame")
if save != null:
save.reset_progress()
save.data["daily"] = save._default_daily()
save.data["profile_frame"] = "plain"
save.save_game()
func _settle() -> void: