Compare commits

...
Author SHA1 Message Date
Ratdoku Builder 78f1dbaa31 chore(release): v0.6.3-alpha
Bump version name to 0.6.3 and Android version code to 15. Document the QA fixes.
2026-12-03 15:19:31 -06:00
Ratdoku Builder b4fd03a8a4 fix(daily): full 30-room rotation and reset-safe profile
Use a fixed shuffled order so every room appears once before repeats. Keep Profile Confirm/Cancel visible, clear locked avatar/frame on reset, and make Home's avatar caption dynamic.
2026-12-03 15:19:30 -06:00
Ratdoku Builder 0cc08de31b chore(release): v0.6.2-alpha
Bump version name to 0.6.2 and Android version code to 14. Document the new art pipeline.
2026-12-03 11:34:49 -06:00
Ratdoku Builder 2eff00e59d art: regenerate transparent guest portraits
All 25 guests get fresh Krea2 renders cut out with birefnet, a uniform cream outline, and true alpha across thumbs, cards, and board heads. Adds the two saved Uncensored workflows and a second variant per guest in the ignored source folder.
2026-12-03 11:34:47 -06:00
88 changed files with 112 additions and 31 deletions

No files matched your search

+18
View File
@@ -2,6 +2,24 @@
All notable alpha milestones for Ratdoku. All notable alpha milestones for Ratdoku.
## v0.6.3-alpha — Fair Rotation
- Daily rooms now use a shuffled 30-room order, so every room appears once before any repeats.
- Profile Confirm / Cancel buttons are fixed below the scroll and always visible.
- Reset progress now clears a room-locked frame and a locked guest avatar, falling back to plain / Crumb.
- Home's caption follows the selected avatar instead of always saying Crumb.
- Added QA for the 30-day rotation and reset fallbacks.
- Android debug APK rebuilt at version `0.6.3` (version code 15).
## v0.6.2-alpha — Clean Cutouts
- Regenerated all 25 guest portraits with the saved Krea2 Uncensored workflow on a neutral white background.
- Cut every portrait out with the local birefnet background-removal model and added a uniform cream outline, giving thumbs, cards, and board heads true transparency.
- Generated a second variant for each guest and a 1024×3072 character sheet for each guest, kept as source assets.
- Copied the saved `Qwen_Image_2.1_Edit_Uncensored` and `Krea2_Turbo_Uncensored` workflows into `tools/workflows/` for reproducibility.
- Added art QA for alpha corners, dimensions, and contact-sheet review.
- Android debug APK rebuilt at version `0.6.2` (version code 14).
## v0.6.1-alpha — Back Button ## v0.6.1-alpha — Back Button
- Android's hardware back button now follows the same path as the in-app back arrow instead of closing the game. - Android's hardware back button now follows the same path as the in-app back arrow instead of closing the game.
+12 -10
View File
@@ -18,7 +18,7 @@ The project uses a portrait **360×640 dp canvas**, scaled to a 540×960 desktop
- In hold mode, a gold ring fills while you hold; at the hold threshold (default 0.35 s) the guest is placed. - In hold mode, a gold ring fills while you hold; at the hold threshold (default 0.35 s) the guest is placed.
- On Android, the system back button acts like the in-app back arrow: it closes overlays first, then navigates back. On Home it asks before quitting. - On Android, the system back button acts like the in-app back arrow: it closes overlays first, then navigates back. On Home it asks before quitting.
- **Undo** and **Hint** are at the bottom. **Restart room** and **Back to lobby** live in the in-level settings sheet. - **Undo** and **Hint** are at the bottom. **Restart room** and **Back to lobby** live in the in-level settings sheet.
- The **Daily room** changes each day and tracks a streak. Replaying the same day never counts twice. Open **Streak** for the weekly calendar and next goal. - The **Daily room** changes each day and tracks a streak. All 30 rooms rotate once before repeating. Replaying the same day never counts twice.
- Tap **Crumb** in the top-left to open your Profile, where you can choose an avatar and a frame. Choices apply on Confirm. - Tap **Crumb** in the top-left to open your Profile, where you can choose an avatar and a frame. Choices apply on Confirm.
- A **gold ring** around a guest means they are already checked in and cannot be moved. - A **gold ring** around a guest means they are already checked in and cannot be moved.
- Win when every room, floor, and corridor has exactly one rat and no two rats touch — even diagonally. - Win when every room, floor, and corridor has exactly one rat and no two rats touch — even diagonally.
@@ -127,7 +127,7 @@ The generator appends until `data/levels.json` contains 30 rooms. It keeps the e
## Guest art ## Guest art
The 25 guest portraits were generated from the `Krea2_Turbo_Uncensored` ComfyUI workflow with a shared chibi/gouache prompt and per-character props. The final prompt variants are in `tools/workflows/final_guests/`. The 25 guest portraits were regenerated from the `Krea2_Image_Uncensored` ComfyUI workflow with a shared gouache prompt and per-character props. Each render is cut out with the local `birefnet` background-removal model, given a uniform cream outline, then exported with true alpha. Prompt variants are kept in `tools/workflows/final_guests/`; the two reusable Uncensored workflows are in `tools/workflows/`.
Runtime assets: Runtime assets:
@@ -135,7 +135,7 @@ Runtime assets:
- `art/guests/cards/<id>.png` — detail portraits - `art/guests/cards/<id>.png` — detail portraits
- `art/guests/thumbs/<id>.png` — gallery thumbnails - `art/guests/thumbs/<id>.png` — gallery thumbnails
Source 1024 renders and contact sheets live in `art/guests/source/` and are excluded from the Android export. Source 1024 renders, alternate variants, full 1024×3072 character sheets, and contact sheets live in `art/guests/source/` and are excluded from the Android export. The gallery, card, and head PNGs shipped in the APK have transparent backgrounds instead of baked cream sticker backdrops.
## Android APK ## Android APK
@@ -148,12 +148,12 @@ build/Ratdoku.apk
It is a **debug-signed, arm64-v8a** APK: It is a **debug-signed, arm64-v8a** APK:
- Package: `com.ratdoku.game` - Package: `com.ratdoku.game`
- Version: `0.6.1` (version code 13) - Version: `0.6.3` (version code 15)
- Min SDK: 24 (Android 7.0) - Min SDK: 24 (Android 7.0)
- Target SDK: 36 - Target SDK: 36
- Size: about 41 MB - Size: about 41 MB
- Portrait orientation - Portrait orientation
- Build label: `v0.6.1-alpha · build 2026-12-03` - Build label: `v0.6.3-alpha · build 2026-12-03`
To install, copy the APK to the phone, open it, and allow “Install unknown apps” for the file manager/browser. Or with a USB-connected phone and USB debugging: To install, copy the APK to the phone, open it, and allow “Install unknown apps” for the file manager/browser. Or with a USB-connected phone and USB debugging:
@@ -202,7 +202,7 @@ Run the whole QA suite (class scan, every test script, log-error scan, optional
## Versioning and releases ## Versioning and releases
The current development build is **v0.6.1-alpha** (“Back Button”) with the build label on Home and in Settings. The current development build is **v0.6.3-alpha** (“Fair Rotation”) with the build label on Home and in Settings.
Gitea repository: Gitea repository:
@@ -223,14 +223,16 @@ Alpha releases (all marked prerelease, each with a debug APK and source archive)
- **v0.5.3-alpha** — high-resolution UI icons that stay sharp on high-density screens - **v0.5.3-alpha** — high-resolution UI icons that stay sharp on high-density screens
- **v0.6.0-alpha** — selectable guest avatars with tabbed picker and a Daily Streak screen with weekly goal - **v0.6.0-alpha** — selectable guest avatars with tabbed picker and a Daily Streak screen with weekly goal
- **v0.6.1-alpha** — Android back button navigates the app instead of closing it - **v0.6.1-alpha** — Android back button navigates the app instead of closing it
- **v0.6.2-alpha** — transparent cutout portraits, alternate variants, and full character sheets
- **v0.6.3-alpha** — full 30-room daily rotation, visible profile actions, and reset-safe avatar/frame selection
https://gitea.nyxara.cc/Ahri-the-Vastaya/Ratdoku/releases/tag/v0.6.1-alpha https://gitea.nyxara.cc/Ahri-the-Vastaya/Ratdoku/releases/tag/v0.6.3-alpha
The v0.6.1-alpha APK is also at: The v0.6.3-alpha APK is also at:
`https://gitea.nyxara.cc/Ahri-the-Vastaya/Ratdoku/releases/download/v0.6.1-alpha/Ratdoku-v0.6.1-alpha.apk` `https://gitea.nyxara.cc/Ahri-the-Vastaya/Ratdoku/releases/download/v0.6.3-alpha/Ratdoku-v0.6.3-alpha.apk`
`redesign-360` is the branch with the current 360dp work; it is tagged `v0.6.1-alpha`. `redesign-360` is the branch with the current 360dp work; it is tagged `v0.6.3-alpha`.
The version is set in three places: `project.godot` (`config/version`), `scripts/Version.gd` (display label), and `export_presets.cfg` (`version/name`, `version/code`). The version is set in three places: `project.godot` (`config/version`), `scripts/Version.gd` (display label), and `export_presets.cfg` (`version/name`, `version/code`).
Binary file not shown.

Before

Width:  |  Height:  |  Size: 478 KiB

After

Width:  |  Height:  |  Size: 194 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 429 KiB

After

Width:  |  Height:  |  Size: 193 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 431 KiB

After

Width:  |  Height:  |  Size: 187 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 487 KiB

After

Width:  |  Height:  |  Size: 245 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 485 KiB

After

Width:  |  Height:  |  Size: 224 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 481 KiB

After

Width:  |  Height:  |  Size: 198 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 453 KiB

After

Width:  |  Height:  |  Size: 217 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 472 KiB

After

Width:  |  Height:  |  Size: 243 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 450 KiB

After

Width:  |  Height:  |  Size: 184 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 401 KiB

After

Width:  |  Height:  |  Size: 218 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 441 KiB

After

Width:  |  Height:  |  Size: 215 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 473 KiB

After

Width:  |  Height:  |  Size: 222 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 390 KiB

After

Width:  |  Height:  |  Size: 228 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 493 KiB

After

Width:  |  Height:  |  Size: 210 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 503 KiB

After

Width:  |  Height:  |  Size: 225 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 460 KiB

After

Width:  |  Height:  |  Size: 156 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 487 KiB

After

Width:  |  Height:  |  Size: 224 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 447 KiB

After

Width:  |  Height:  |  Size: 191 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 505 KiB

After

Width:  |  Height:  |  Size: 215 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 495 KiB

After

Width:  |  Height:  |  Size: 199 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 469 KiB

After

Width:  |  Height:  |  Size: 217 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 459 KiB

After

Width:  |  Height:  |  Size: 186 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 478 KiB

After

Width:  |  Height:  |  Size: 188 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 505 KiB

After

Width:  |  Height:  |  Size: 208 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 474 KiB

After

Width:  |  Height:  |  Size: 239 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 122 KiB

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 109 KiB

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 122 KiB

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 KiB

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 123 KiB

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 KiB

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 109 KiB

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 117 KiB

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 114 KiB

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 115 KiB

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 123 KiB

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 111 KiB

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 104 KiB

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 126 KiB

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 KiB

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 KiB

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 KiB

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 109 KiB

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 124 KiB

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 118 KiB

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 118 KiB

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 112 KiB

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 117 KiB

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 KiB

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 KiB

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 132 KiB

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 KiB

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 KiB

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 132 KiB

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 132 KiB

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 131 KiB

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 KiB

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 130 KiB

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 124 KiB

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 113 KiB

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 122 KiB

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 130 KiB

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 109 KiB

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 136 KiB

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 138 KiB

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 KiB

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 134 KiB

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 KiB

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 137 KiB

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 136 KiB

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 129 KiB

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 128 KiB

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 133 KiB

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 138 KiB

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 129 KiB

After

Width:  |  Height:  |  Size: 71 KiB

+2 -2
View File
@@ -32,8 +32,8 @@ architectures/armeabi-v7a=false
architectures/arm64-v8a=true architectures/arm64-v8a=true
architectures/x86=false architectures/x86=false
architectures/x86_64=false architectures/x86_64=false
version/code=13 version/code=15
version/name="0.6.1" version/name="0.6.3"
package/unique_name="com.ratdoku.game" package/unique_name="com.ratdoku.game"
package/name="Ratdoku" package/name="Ratdoku"
package/signed=true package/signed=true
+1 -1
View File
@@ -12,7 +12,7 @@ config_version=5
config/name="Ratdoku" config/name="Ratdoku"
run/main_scene="res://scenes/Main.tscn" run/main_scene="res://scenes/Main.tscn"
config/version="0.6.1-alpha" config/version="0.6.3-alpha"
config/features=PackedStringArray("4.7", "GL Compatibility") config/features=PackedStringArray("4.7", "GL Compatibility")
config/icon="res://icon.png" config/icon="res://icon.png"
boot_splash/show_image=false boot_splash/show_image=false
+16 -2
View File
@@ -53,9 +53,23 @@ static func goal_text(streak: int) -> String:
return "%d more day%s until the Regular frame" % [3 - streak, "" if 3 - streak == 1 else "s"] return "%d more day%s until the Regular frame" % [3 - streak, "" if 3 - streak == 1 else "s"]
## Stable per-date room choice. With 30 rooms the pool repeats monthly. ## Stable per-date room choice. A fixed shuffled order guarantees every
## room appears once before the daily pool repeats.
static func level_index(level_count: int, key: String = "") -> int: static func level_index(level_count: int, key: String = "") -> int:
if level_count <= 0: if level_count <= 0:
return -1 return -1
var date_key := key if key != "" else today_key() var date_key := key if key != "" else today_key()
return absi(("ratdoku-daily-" + date_key).hash()) % level_count var index := absi(day_number(date_key)) % level_count
# Deterministic across devices and sessions: same seed => same order.
var rng := RandomNumberGenerator.new()
rng.seed = 0x52415444
var order: Array = []
for i in range(level_count):
order.append(i)
for i in range(level_count - 1, 0, -1):
var j := rng.randi_range(0, i)
var swap = order[i]
order[i] = order[j]
order[j] = swap
return int(order[index])
+12 -1
View File
@@ -11,6 +11,7 @@ signal streak_pressed
var progress_pill: Button var progress_pill: Button
var primary: Button var primary: Button
var hint_label: Label var hint_label: Label
var mascot_caption: Label
var daily_button: Button var daily_button: Button
var streak_button: Button var streak_button: Button
var avatar_holder: CenterContainer var avatar_holder: CenterContainer
@@ -91,7 +92,8 @@ func _ready() -> void:
card.add_child(mascot) card.add_child(mascot)
column.add_child(card) column.add_child(card)
column.add_child(UI.label("Crumb, innkeeper", 12, Palette.MUTED)) mascot_caption = UI.label("Crumb, innkeeper", 12, Palette.MUTED)
column.add_child(mascot_caption)
hint_label = UI.label(UI.place_hint(), 11, Palette.MUTED) hint_label = UI.label(UI.place_hint(), 11, Palette.MUTED)
column.add_child(hint_label) column.add_child(hint_label)
@@ -133,6 +135,15 @@ func _ready() -> void:
func refresh() -> void: func refresh() -> void:
hint_label.text = UI.place_hint() hint_label.text = UI.place_hint()
var avatar_id := SaveGame.selected_avatar()
if avatar_id == "crumb":
mascot_caption.text = "Crumb, innkeeper"
else:
var guest := Guests.by_id(avatar_id)
mascot_caption.text = "%s · %s" % [
str(guest.get("name", avatar_id)),
str(guest.get("role", "Guest"))
]
daily_button.text = _daily_text() daily_button.text = _daily_text()
_refresh_avatar() _refresh_avatar()
var guests := Guests.all() var guests := Guests.all()
+13 -12
View File
@@ -51,6 +51,19 @@ func _ready() -> void:
scroll.horizontal_scroll_mode = ScrollContainer.SCROLL_MODE_DISABLED scroll.horizontal_scroll_mode = ScrollContainer.SCROLL_MODE_DISABLED
column.add_child(scroll) column.add_child(scroll)
# Confirm/Cancel stay visible instead of being hidden below the scroll.
var actions := HBoxContainer.new()
actions.add_theme_constant_override("separation", 8)
column.add_child(actions)
var cancel := UI.button("Cancel", false, 46)
cancel.size_flags_horizontal = Control.SIZE_EXPAND_FILL
cancel.pressed.connect(_on_cancel)
actions.add_child(cancel)
var confirm := UI.button("Confirm", true, 46)
confirm.size_flags_horizontal = Control.SIZE_EXPAND_FILL
confirm.pressed.connect(_on_confirm)
actions.add_child(confirm)
var content := VBoxContainer.new() var content := VBoxContainer.new()
content.size_flags_horizontal = Control.SIZE_EXPAND_FILL content.size_flags_horizontal = Control.SIZE_EXPAND_FILL
content.add_theme_constant_override("separation", 8) content.add_theme_constant_override("separation", 8)
@@ -99,18 +112,6 @@ func _ready() -> void:
status_label.custom_minimum_size = Vector2(0, 22) status_label.custom_minimum_size = Vector2(0, 22)
content.add_child(status_label) content.add_child(status_label)
var actions := HBoxContainer.new()
actions.add_theme_constant_override("separation", 8)
content.add_child(actions)
var cancel := UI.button("Cancel", false, 46)
cancel.size_flags_horizontal = Control.SIZE_EXPAND_FILL
cancel.pressed.connect(_on_cancel)
actions.add_child(cancel)
var confirm := UI.button("Confirm", true, 46)
confirm.size_flags_horizontal = Control.SIZE_EXPAND_FILL
confirm.pressed.connect(_on_confirm)
actions.add_child(confirm)
UI.pass_scroll_input(content) UI.pass_scroll_input(content)
SaveGame.progress_changed.connect(refresh) SaveGame.progress_changed.connect(refresh)
refresh() refresh()
+13
View File
@@ -151,6 +151,19 @@ func reset_progress() -> void:
data["completed_rooms"] = [] data["completed_rooms"] = []
data["unlocked_guests"] = [] data["unlocked_guests"] = []
data["last_room"] = 0 data["last_room"] = 0
# Room-based unlocks can disappear after a reset; never leave a locked
# frame or guest avatar equipped.
var frame := Frames.by_id(selected_frame())
if (
frame.is_empty()
or rooms_completed() < int(frame.get("rooms", 0))
or best_streak() < int(frame.get("streak", 0))
):
data["profile_frame"] = "plain"
if not Avatars.is_unlocked(selected_avatar()):
data["avatar_id"] = "crumb"
save_game() save_game()
progress_changed.emit() progress_changed.emit()
+3 -3
View File
@@ -1,7 +1,7 @@
class_name Version class_name Version
extends RefCounted extends RefCounted
const NUMBER := "0.6.1-alpha" const NUMBER := "0.6.3-alpha"
const CODENAME := "Back Button" const CODENAME := "Fair Rotation"
const BUILD_DATE := "2026-12-03" const BUILD_DATE := "2026-12-03"
const BUILD_LABEL := "v0.6.1-alpha · build 2026-12-03" const BUILD_LABEL := "v0.6.3-alpha · build 2026-12-03"
+1
View File
@@ -317,6 +317,7 @@ func _test_daily(save) -> void:
all_valid = false all_valid = false
distinct[i] = true distinct[i] = true
_check(all_valid, "30 consecutive dates should all produce valid daily indices") _check(all_valid, "30 consecutive dates should all produce valid daily indices")
_check(distinct.size() == 30, "30 consecutive dates should visit all 30 rooms")
_note("distinct daily levels across 30 consecutive days: %d" % distinct.size()) _note("distinct daily levels across 30 consecutive days: %d" % distinct.size())
_reset_to_clean(save) _reset_to_clean(save)
+19
View File
@@ -47,12 +47,31 @@ func _run() -> void:
await _test_campaign(main, save) await _test_campaign(main, save)
await _test_guest_book(main) await _test_guest_book(main)
await _test_back(main) await _test_back(main)
await _test_reset_fallback(main, save)
_restore_defaults(save) _restore_defaults(save)
print("QA UI: ", "PASS" if failures == 0 else "FAIL (%d)" % failures) print("QA UI: ", "PASS" if failures == 0 else "FAIL (%d)" % failures)
quit(0 if failures == 0 else 1) quit(0 if failures == 0 else 1)
func _test_reset_fallback(main, save) -> void:
main.show_screen("home", false)
await process_frame
save.data["avatar_id"] = "pepper"
save.data["profile_frame"] = "paper"
save.data["completed_rooms"] = ["a", "b", "c", "d", "e"]
save.save_game()
save.progress_changed.emit()
await process_frame
_check(main.home.mascot_caption.text.find("Pepper") >= 0, "Home caption should follow the chosen avatar")
save.reset_progress()
await process_frame
_check(save.selected_frame() == "plain", "reset should clear a room-locked frame")
_check(save.selected_avatar() == "crumb", "reset should clear a locked guest avatar")
_check(main.home.mascot_caption.text.find("Crumb") >= 0, "Home caption should return to Crumb")
func _test_screen_cycle(main) -> void: func _test_screen_cycle(main) -> void:
var expected: Array[String] = ["home", "game", "guest_book", "rules", "profile", "streak"] var expected: Array[String] = ["home", "game", "guest_book", "rules", "profile", "streak"]
_check(main.screens.size() == expected.size(), "Main should expose all six screens") _check(main.screens.size() == expected.size(), "Main should expose all six screens")
@@ -0,0 +1 @@
{"id":"08988737-a544-4ab1-99fb-22d67b7c36e3","revision":0,"last_node_id":52,"last_link_id":85,"nodes":[{"id":29,"type":"SaveImage","pos":[521.2820256118092,-86.65135385501759],"size":[879.953125,1019.953125],"flags":{},"order":5,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":44},{"localized_name":"filename_prefix","name":"filename_prefix","type":"STRING","widget":{"name":"filename_prefix"},"link":null}],"outputs":[{"localized_name":"images","name":"images","type":"IMAGE","links":null}],"properties":{"Node name for S&R":"SaveImage","cnr_id":"comfy-core","ver":"0.25.0"},"widgets_values":["Krea2_turbo"],"widgets_values_named":{"filename_prefix":"Krea2_turbo"}},{"id":30,"type":"b0e5ca93-2731-42b9-8e0a-d28ea851ff81","pos":[-140,-110],"size":[559.953125,1009.953125],"flags":{},"order":4,"mode":0,"inputs":[{"label":"prompt","name":"value","type":"STRING","widget":{"name":"value"},"link":null},{"label":"prompt_enhance","name":"value_1","type":"BOOLEAN","widget":{"name":"value_1"},"link":null},{"label":"LLM_max_token","name":"max_length","type":"INT","widget":{"name":"max_length"},"link":null},{"label":"LLM_thinking_mode","name":"thinking","shape":7,"type":"BOOLEAN","widget":{"name":"thinking"},"link":null},{"label":"width","name":"width_1","type":"INT","widget":{"name":"width_1"},"link":84},{"label":"height","name":"height_1","type":"INT","widget":{"name":"height_1"},"link":85},{"label":"seed","name":"seed_1","type":"INT","widget":{"name":"seed_1"},"link":null},{"label":"enable_lora","name":"value_3","type":"BOOLEAN","widget":{"name":"value_3"},"link":null},{"label":"lora_name","name":"lora_name_1","type":"COMBO","widget":{"name":"lora_name_1"},"link":null},{"label":"lora_strength","name":"strength_model_1","type":"FLOAT","widget":{"name":"strength_model_1"},"link":null},{"label":"lora_trigger_word","name":"string_b_1","type":"STRING","widget":{"name":"string_b_1"},"link":null},{"label":"unet_name","name":"unet_name_1","type":"COMBO","widget":{"name":"unet_name_1"},"link":null},{"label":"clip_name","name":"clip_name_1","type":"COMBO","widget":{"name":"clip_name_1"},"link":null},{"label":"vae_name","name":"vae_name_1","type":"COMBO","widget":{"name":"vae_name_1"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[44]}],"properties":{"cnr_id":"comfy-core","ver":"0.25.0","previewExposures":[{"name":"$$canvas-image-preview","sourceNodeId":"3","sourcePreviewName":"$$canvas-image-preview"}]},"widgets_values":["A cozy children's-book character illustration of Crumb, a round dumbo-eared fancy rat innkeeper. Plump pear-shaped body, soft fawn-and-cream hooded fur, huge low-set round ears, tiny pink paws, long delicate whiskers, bright curious eyes, one small notch in her left ear. She wears a tiny flour-dusted linen apron with a cheese-wedge pocket and holds a little clipboard. Standing three-quarter view, full body, centered, friendly slightly flustered expression. Hand-painted gouache texture, visible soft brush strokes, warm cream, ochre and dusty rose palette, gentle rim light, soft contact shadow, plain warm cream background, clean sticker-like silhouette, no text, no logo, 1:1.\n\n",false,512,false,1024,1024,107158940777715,true,"krea2_refusal_compact.safetensors",0.8,"","krea2_turbo_int8_convrot.safetensors","qwen3vl_4b_fp8_scaled.safetensors","qwen_image_vae.safetensors"],"widgets_values_named":{"value":"A cozy children's-book character illustration of Crumb, a round dumbo-eared fancy rat innkeeper. Plump pear-shaped body, soft fawn-and-cream hooded fur, huge low-set round ears, tiny pink paws, long delicate whiskers, bright curious eyes, one small notch in her left ear. She wears a tiny flour-dusted linen apron with a cheese-wedge pocket and holds a little clipboard. Standing three-quarter view, full body, centered, friendly slightly flustered expression. Hand-painted gouache texture, visible soft brush strokes, warm cream, ochre and dusty rose palette, gentle rim light, soft contact shadow, plain warm cream background, clean sticker-like silhouette, no text, no logo, 1:1.\n\n","value_1":false,"max_length":512,"thinking":false,"width_1":1024,"height_1":1024,"seed_1":107158940777715,"value_3":true,"lora_name_1":"krea2_refusal_compact.safetensors","strength_model_1":0.8,"string_b_1":"","unet_name_1":"krea2_turbo_int8_convrot.safetensors","clip_name_1":"qwen3vl_4b_fp8_scaled.safetensors","vae_name_1":"qwen_image_vae.safetensors"}},{"id":47,"type":"MarkdownNote","pos":[-1200,970],"size":[689.953125,509.953125],"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[],"title":"LoRA Trigger Words and Settings","properties":{},"widgets_values":["## Model Links\n\n- [Hugging Face:Comfy-Org/Krea-2](https://huggingface.co/Comfy-Org/Krea-2)\n- [ModelScope:Comfy-Org/Krea-2](https://modelscope.cn/models/Comfy-Org/Krea-2)\n\nDownload the style LoRAs used in this workflow from [Comfy-Org/Krea-2/loras](https://huggingface.co/Comfy-Org/Krea-2/tree/main/loras).Line truncated
@@ -0,0 +1 @@
{"id":"54bb395d-3e60-4c94-b525-85523901575b","revision":0,"last_node_id":501,"last_link_id":903,"nodes":[{"id":459,"type":"bc1c967a-7f6a-4be9-a372-dad16e4f28e3","pos":[480,2420],"size":[420,760],"flags":{},"order":5,"mode":0,"inputs":[{"name":"resolution","type":"INT","widget":{"name":"resolution"},"link":null},{"label":"positive_prompt","localized_name":"prompt","name":"prompt","type":"STRING","widget":{"name":"prompt"},"link":null},{"label":"refine_prompt","name":"switch_1","type":"BOOLEAN","widget":{"name":"switch_1"},"link":null},{"name":"thinking","shape":7,"type":"BOOLEAN","widget":{"name":"thinking"},"link":null},{"name":"max_length","type":"INT","widget":{"name":"max_length"},"link":null},{"name":"negative_prompt","type":"STRING","widget":{"name":"negative_prompt"},"link":null},{"name":"cfg","type":"FLOAT","widget":{"name":"cfg"},"link":null},{"label":"steps","name":"steps","type":"INT","widget":{"name":"steps"},"link":null},{"label":"custom_size","name":"switch","type":"BOOLEAN","widget":{"name":"switch"},"link":null},{"localized_name":"width","name":"width","type":"INT","widget":{"name":"width"},"link":null},{"localized_name":"height","name":"height","type":"INT","widget":{"name":"height"},"link":null},{"label":"sampler","name":"scheduler","type":"COMBO","widget":{"name":"scheduler"},"link":null},{"label":"scheduler","name":"scheduler_1","type":"COMBO","widget":{"name":"scheduler_1"},"link":null},{"name":"seed","type":"INT","widget":{"name":"seed"},"link":null},{"name":"unet_name","type":"COMBO","widget":{"name":"unet_name"},"link":null},{"name":"clip_name","type":"COMBO","widget":{"name":"clip_name"},"link":null},{"name":"vae_name","type":"COMBO","widget":{"name":"vae_name"},"link":null},{"label":"cache_device","name":"device","type":"COMBO","widget":{"name":"device"},"link":null},{"label":"dtype","name":"dtype","type":"COMBO","widget":{"name":"dtype"},"link":null},{"label":"PE_model","name":"clip_name_1","type":"COMBO","widget":{"name":"clip_name_1"},"link":null},{"label":"image_1","name":"images.image_1","type":"IMAGE","link":704},{"label":"image_2","name":"images.image_2","shape":7,"type":"IMAGE","link":728},{"label":"image_3","name":"images.image_3","shape":7,"type":"IMAGE","link":null},{"label":"image_4","name":"images.image_4","shape":7,"type":"IMAGE","link":null},{"label":"image_5","name":"images.image_5_1","shape":7,"type":"IMAGE","link":null},{"label":"image_6","name":"images.image_6","shape":7,"type":"IMAGE","link":null},{"label":"image_7","name":"images.image_7","shape":7,"type":"IMAGE","link":null},{"label":"image_8","name":"images.image_8","shape":7,"type":"IMAGE","link":null},{"label":"image_9","name":"images.image_9","shape":7,"type":"IMAGE","link":null},{"label":"image_10","name":"images.image_10","shape":7,"type":"IMAGE","link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[672]}],"properties":{"previewExposures":[]},"widgets_values":[0,"Replace costumes for the character",false,false,4096,"",1,25,false,1024,1024,"euler","simple",891836227295375,"qwen_image_2.1_int8_convrot.safetensors","qwen3vl_8b_int8_convrot.safetensors","qwen_image_2.1_vae_bf16.safetensors","auto","default","qwen3.5_9b_qwen_image_2.1_pe_t2i.int8_convrot.safetensors"],"widgets_values_named":{"resolution":0,"prompt":"Replace costumes for the character","switch_1":false,"thinking":false,"max_length":4096,"negative_prompt":"","cfg":1,"steps":25,"switch":false,"width":1024,"height":1024,"scheduler":"euler","scheduler_1":"simple","seed":891836227295375,"unet_name":"qwen_image_2.1_int8_convrot.safetensors","clip_name":"qwen3vl_8b_int8_convrot.safetensors","vae_name":"qwen_image_2.1_vae_bf16.safetensors","device":"auto","dtype":"default","clip_name_1":"qwen3.5_9b_qwen_image_2.1_pe_t2i.int8_convrot.safetensors"}},{"id":461,"type":"SaveImageAdvanced","pos":[1410,2420],"size":[710,760],"flags":{},"order":6,"mode":0,"showAdvanced":true,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":672},{"localized_name":"filename_prefix","name":"filename_prefix","type":"STRING","widget":{"name":"filename_prefix"},"link":null},{"localized_name":"format","name":"format","type":"COMFY_DYNAMICCOMBO_V3","widget":{"name":"format"},"link":null},{"localized_name":"bit_depth","name":"format.bit_depth","type":"COMBO","widget":{"name":"format.bit_depth"},"link":null},{"localized_name":"input_color_space","name":"format.input_color_space","type":"COMBO","widget":{"name":"format.input_color_space"},"link":null},{"localized_name":"channels","name":"format.channels","shape":7,"type":"COMBO","widget":{"name":"format.channels"},"link":null}],"outputs":[{"localized_name":"images","name":"images","type":"IMAGE","links":[708]}],"properties":{},"widgets_values":["Qwen_image_2.1","png","8-bit","sRGB","auto"],"widgets_values_named":{"filename_prefix":"Qwen_image_2.1","format":"png","format.bit_depth":"8-bit","format.input_color_space":"sRGB","format.channels":"auto"}},{"id":463,"type":"MarkdownNLine truncated