Compare commits

..
Author SHA1 Message Date
Ratdoku Builder 5dec96e69e chore(release): v0.6.4-alpha
Bump version name to 0.6.4 and Android version code to 16. Document the final polish items.
2026-12-03 16:29:05 -06:00
Ratdoku Builder c65a33b5f0 polish(streak): add reward milestones and clean Krea2 workflow
Fill the Daily Streak screen with 3-day and 7-day frame progress, and remove the stale template text from the Krea2 CLIPTextEncode node.
2026-12-03 16:29:03 -06:00
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
Ratdoku Builder 898dedde94 chore(release): v0.6.1-alpha
Bump version name to 0.6.1 and Android version code to 13. Document Android back navigation.
2026-12-03 00:07:29 -06:00
Ratdoku Builder f9ab1c26a0 fix(android): route hardware back through app navigation
Handle ui_cancel and the Android back-request notification. Back now dismisses overlays in priority order, closes the win overlay, navigates back, and asks for confirmation before quitting on Home.
2026-12-03 00:07:27 -06:00
Ratdoku Builder 804f68699d chore(release): v0.6.0-alpha
Bump version name to 0.6.0 and Android version code to 12. Document avatars and the Daily Streak screen.
2026-12-02 23:57:29 -06:00
Ratdoku Builder d0be689faa feat(profile): selectable avatars and a daily streak view
Profile now has tabbed Avatar/Frame pickers with preview and Confirm/Cancel. Crumb plus unlocked guest portraits can be chosen as the avatar. A new Daily Streak screen shows the current streak, best streak, weekly calendar, next-frame goal, and a 7-day gift marker. Save format moves to version 4 with avatar_id and completion history.
2026-12-02 23:57:28 -06:00
Ratdoku Builder c91586b4a1 chore(release): v0.5.3-alpha
Bump version name to 0.5.3 and Android version code to 11. Document the icon sharpness fix.
2026-12-02 23:24:05 -06:00
Ratdoku Builder 7abd1226cb fix(ui): sharpen round-button icons
Import icon SVGs at 120px intrinsic size, expand them in round buttons with content margins preserving the original visual size, and assert icon resolution in QA.
2026-12-02 23:24:03 -06:00
Ratdoku Builder 3587c7bd64 chore(release): v0.5.2-alpha
Bump version name to 0.5.2 and Android version code to 10. Disable the Godot boot splash and document the themed confirmation cards.
2026-12-02 23:13:48 -06:00
Ratdoku Builder ea0f80664f fix(ui): theme reset and restart confirmations
Replaced native confirmation dialogs with an in-app card using app colours, fonts, wrapped body text, and full-width Cancel/destructive buttons. Tapping outside cancels. Added UI QA coverage and a reset-dialog screenshot.
2026-12-02 23:13:47 -06:00
117 changed files with 6330 additions and 130 deletions

No files matched your search

+57
View File
@@ -2,6 +2,63 @@
All notable alpha milestones for Ratdoku. All notable alpha milestones for Ratdoku.
## v0.6.4-alpha — Polished Edges
- Daily Streak screen now shows 3-day Regular and 7-day Night Owl reward milestones with progress.
- Cleared the stale template prompt left in the Krea2 workflow's unused CLIPTextEncode node.
- Added QA checks for the streak milestone labels.
- Android debug APK rebuilt at version `0.6.4` (version code 16).
## 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
- Android's hardware back button now follows the same path as the in-app back arrow instead of closing the game.
- Back closes overlays in order: quit confirmation, settings confirmation, settings sheet, Guest Book detail, win overlay, then screen navigation.
- On Home, back opens a themed "Leave Ratdoku?" confirmation before quitting.
- Added headless QA that injects `ui_cancel` at each layer.
- Android debug APK rebuilt at version `0.6.1` (version code 13).
## v0.6.0-alpha — New Looks & Streaks
- Profile now has tabbed **Avatar** and **Frame** pickers with a large preview, selection highlighting, and Confirm / Cancel. Guest portraits unlock with their Guest Book entries; Crumb is available from the start.
- Chosen avatar appears on Home and in Profile. Frames stack over any avatar.
- New **Daily Streak** screen with a big current streak, best-streak pill, Monday–Sunday completion calendar, next-frame goal, and a visual 7-day gift marker.
- Save format moves to version 4 with `avatar_id` and daily completion history.
- QA updated for avatars, streak history, the new screens, and save migrations.
- Android debug APK rebuilt at version `0.6.0` (version code 12).
## v0.5.3-alpha — Crisp Icons
- Icon SVGs now import at 120px intrinsic size instead of 24px, so buttons stay sharp on high-density phones.
- Round buttons expand the high-res icon and use content margins to keep the original visual icon size.
- Added QA that checks every icon texture is at least 96px and that round buttons use expansion and margins.
- Android debug APK rebuilt at version `0.5.3` (version code 11).
## v0.5.2-alpha — Clean Slate
- Replaced the native reset/restart dialog with a themed in-app confirmation card: cream panel, Fredoka heading, wrapped body, and full-width Cancel / destructive action buttons.
- The confirmation panel fits the 360dp screen, and tapping outside cancels.
- Disabled the Godot boot splash and set the startup background to the app's cream colour.
- Added UI QA checks for both confirmation dialogs and a reset-dialog screenshot.
- Android debug APK rebuilt at version `0.5.2` (version code 10).
## v0.5.1-alpha — QA & Stability ## v0.5.1-alpha — QA & Stability
- Fixed a crash when selecting a profile frame: the frame grid no longer frees the card that is still emitting `pressed`. - Fixed a crash when selecting a profile frame: the frame grid no longer frees the card that is still emitting `pressed`.
+25 -15
View File
@@ -16,9 +16,10 @@ The project uses a portrait **360×640 dp canvas**, scaled to a 540×960 desktop
- **Double-tap** a cell to check a guest in or out. **Double-tap is on by default.** - **Double-tap** a cell to check a guest in or out. **Double-tap is on by default.**
- Prefer holding? Turn off **Double-tap to place** in Settings, then **press and hold** (mobile) or **right-click** (PC) to check a guest in. Right-click keeps working in both modes. - Prefer holding? Turn off **Double-tap to place** in Settings, then **press and hold** (mobile) or **right-click** (PC) to check a guest in. Right-click keeps working in both modes.
- 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.
- **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. - The **Daily room** changes each day and tracks a streak. All 30 rooms rotate once before repeating. Replaying the same day never counts twice. Open **Streak** for the weekly calendar, next-frame goal, and reward milestones.
- Tap **Crumb** in the top-left to open your Profile, where you can wear unlocked frames. - 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.
- **No guessing is required.** Every room has exactly one solution. - **No guessing is required.** Every room has exactly one solution.
@@ -40,8 +41,9 @@ The board uses circular **head tokens** from `art/guests/heads/`. Crumb remains
- **Home** — top hub with framed Crumb avatar, guest progress, and settings; daily room card; Continue/Check in; Guest Book; House Rules. - **Home** — top hub with framed Crumb avatar, guest progress, and settings; daily room card; Continue/Check in; Guest Book; House Rules.
- **Game** — top bar, rule strip for the first three rooms, room legend, board, timer, undo/hint, in-level settings, win overlay. - **Game** — top bar, rule strip for the first three rooms, room legend, board, timer, undo/hint, in-level settings, win overlay.
- **The Guest Book** — 25 guests: five residents unlocked from the start, the other 20 unlocked one per room. Locked cards show a very faint portrait under `???` and their room number. Tapping a card opens a detail sheet; swiping anywhere in the gallery scrolls it, including over cards. - **The Guest Book** — 25 guests: five residents unlocked from the start, the other 20 unlocked one per room. Locked cards show a very faint portrait under `???` and their room number. Tapping a card opens a detail sheet; swiping anywhere in the gallery scrolls it, including over cards.
- **Settings** — a bottom sheet over Home or the board: room patterns, timer, reduce motion, double-tap placement (on by default), hold time, how to play, restart/back, reset progress. - **Settings** — a bottom sheet over Home or the board: room patterns, timer, reduce motion, double-tap placement (on by default), hold time, how to play, restart/back, reset progress. Destructive actions use a themed in-app confirmation card.
- **Profile** — Crumb's framed portrait, rooms completed, current and best daily streaks, and a selectable frame grid. - **Profile** — framed avatar preview, rooms completed, current and best daily streaks, and tabbed Avatar / Frame pickers with Confirm / Cancel. Guest portraits unlock with their Guest Book entry.
- **Daily Streak** — big current streak, best-streak pill, weekly calendar, next-frame goal, day-7 gift marker, and streak reward milestones.
- **House Rules** — four illustrated rules, controls, tips, FAQ, and an interactive 5×5 practice board. - **House Rules** — four illustrated rules, controls, tips, FAQ, and an interactive 5×5 practice board.
## Unlocks ## Unlocks
@@ -125,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:
@@ -133,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
@@ -146,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.5.1` (version code 9) - Version: `0.6.4` (version code 16)
- 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.5.1-alpha · build 2026-12-02` - Build label: `v0.6.4-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:
@@ -188,7 +190,7 @@ If you want a Play Store build, switch `gradle_build/export_format` to AAB, use
--headless --path . --script res://tools/ui_test.gd --headless --path . --script res://tools/ui_test.gd
``` ```
`ui_test.gd` checks the double-tap default and version 1 migration, daily streak math and level selection, frame unlocks and selection persistence, settings propagation, hold/double-tap placement, tap-vs-drag guards in the Guest Book, scroll pass-through over cards and rules rows, the close guard, room-1 → Pepper unlock, gallery progress, and the interactive 5×5 tutorial. Both tests reset the save when they finish. `ui_test.gd` checks the double-tap default and save migrations, daily streak math and level selection, avatar and frame selection, settings propagation, hold/double-tap placement, tap-vs-drag guards in the Guest Book, scroll pass-through over cards and rules rows, the close guard, room-1 → Pepper unlock, gallery progress, navigation, and the interactive 5×5 tutorial. Both tests reset the save when they finish.
Run the whole QA suite (class scan, every test script, log-error scan, optional screenshots, optional APK build) with: Run the whole QA suite (class scan, every test script, log-error scan, optional screenshots, optional APK build) with:
@@ -200,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.5.1-alpha** (“QA & Stability”) with the build label on Home and in Settings. The current development build is **v0.6.4-alpha** (“Polished Edges”) with the build label on Home and in Settings.
Gitea repository: Gitea repository:
@@ -217,14 +219,21 @@ Alpha releases (all marked prerelease, each with a debug APK and source archive)
- **v0.4.3-alpha** — double-tap placement is the default, with a one-time migration for older saves - **v0.4.3-alpha** — double-tap placement is the default, with a one-time migration for older saves
- **v0.5.0-alpha** — daily room with streaks, Profile screen, and selectable profile frames - **v0.5.0-alpha** — daily room with streaks, Profile screen, and selectable profile frames
- **v0.5.1-alpha** — profile frame selection crash fix, QA suites, and log-guarded test runner - **v0.5.1-alpha** — profile frame selection crash fix, QA suites, and log-guarded test runner
- **v0.5.2-alpha** — themed reset/restart confirmation and no Godot boot splash
- **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.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
- **v0.6.4-alpha** — streak reward milestones and cleaned Krea2 workflow prompts
https://gitea.nyxara.cc/Ahri-the-Vastaya/Ratdoku/releases/tag/v0.5.1-alpha https://gitea.nyxara.cc/Ahri-the-Vastaya/Ratdoku/releases/tag/v0.6.4-alpha
The v0.5.1-alpha APK is also at: The v0.6.4-alpha APK is also at:
`https://gitea.nyxara.cc/Ahri-the-Vastaya/Ratdoku/releases/download/v0.5.1-alpha/Ratdoku-v0.5.1-alpha.apk` `https://gitea.nyxara.cc/Ahri-the-Vastaya/Ratdoku/releases/download/v0.6.4-alpha/Ratdoku-v0.6.4-alpha.apk`
`redesign-360` is the branch with the current 360dp work; it is tagged `v0.5.1-alpha`. `redesign-360` is the branch with the current 360dp work; it is tagged `v0.6.4-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`).
@@ -238,6 +247,7 @@ The version is set in three places: `project.godot` (`config/version`), `scripts
- Interactive 5×5 tutorial - Interactive 5×5 tutorial
- 25 guest portraits + Crumb - 25 guest portraits + Crumb
- Settings, gallery, rulebook, unlock flow - Settings, gallery, rulebook, unlock flow
- Daily room with streaks, Profile screen, selectable frames (save version 3) - Daily room with streaks, Profile screen, selectable avatars and frames (save version 4)
- Installable Android debug APK - Installable Android debug APK
- No Godot boot splash; the app opens straight to the cream-themed game
- No audio yet, no release keystore/AAB yet - No audio yet, no release keystore/AAB yet
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
@@ -1,7 +1,7 @@
<svg <svg
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
width="24" width="120"
height="24" height="120"
viewBox="0 0 24 24" viewBox="0 0 24 24"
fill="none" fill="none"
stroke="currentColor" stroke="currentColor"

Before

Width:  |  Height:  |  Size: 262 B

After

Width:  |  Height:  |  Size: 264 B

+2 -2
View File
@@ -1,7 +1,7 @@
<svg <svg
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
width="24" width="120"
height="24" height="120"
viewBox="0 0 24 24" viewBox="0 0 24 24"
fill="none" fill="none"
stroke="currentColor" stroke="currentColor"

Before

Width:  |  Height:  |  Size: 317 B

After

Width:  |  Height:  |  Size: 319 B

+2 -2
View File
@@ -1,7 +1,7 @@
<svg <svg
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
width="24" width="120"
height="24" height="120"
viewBox="0 0 24 24" viewBox="0 0 24 24"
fill="none" fill="none"
stroke="currentColor" stroke="currentColor"

Before

Width:  |  Height:  |  Size: 393 B

After

Width:  |  Height:  |  Size: 395 B

+2 -2
View File
@@ -1,7 +1,7 @@
<svg <svg
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
width="24" width="120"
height="24" height="120"
viewBox="0 0 24 24" viewBox="0 0 24 24"
fill="none" fill="none"
stroke="currentColor" stroke="currentColor"

Before

Width:  |  Height:  |  Size: 400 B

After

Width:  |  Height:  |  Size: 402 B

+2 -2
View File
@@ -1,7 +1,7 @@
<svg <svg
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
width="24" width="120"
height="24" height="120"
viewBox="0 0 24 24" viewBox="0 0 24 24"
fill="none" fill="none"
stroke="currentColor" stroke="currentColor"

Before

Width:  |  Height:  |  Size: 236 B

After

Width:  |  Height:  |  Size: 238 B

+2 -2
View File
@@ -1,7 +1,7 @@
<svg <svg
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
width="24" width="120"
height="24" height="120"
viewBox="0 0 24 24" viewBox="0 0 24 24"
fill="none" fill="none"
stroke="currentColor" stroke="currentColor"

Before

Width:  |  Height:  |  Size: 660 B

After

Width:  |  Height:  |  Size: 662 B

+2 -2
View File
@@ -1,7 +1,7 @@
<svg <svg
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
width="24" width="120"
height="24" height="120"
viewBox="0 0 24 24" viewBox="0 0 24 24"
fill="none" fill="none"
stroke="currentColor" stroke="currentColor"

Before

Width:  |  Height:  |  Size: 314 B

After

Width:  |  Height:  |  Size: 316 B

+2 -2
View File
@@ -1,7 +1,7 @@
<svg <svg
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
width="24" width="120"
height="24" height="120"
viewBox="0 0 24 24" viewBox="0 0 24 24"
fill="none" fill="none"
stroke="currentColor" stroke="currentColor"

Before

Width:  |  Height:  |  Size: 356 B

After

Width:  |  Height:  |  Size: 358 B

+2 -2
View File
@@ -1,7 +1,7 @@
<svg <svg
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
width="24" width="120"
height="24" height="120"
viewBox="0 0 24 24" viewBox="0 0 24 24"
fill="none" fill="none"
stroke="currentColor" stroke="currentColor"

Before

Width:  |  Height:  |  Size: 412 B

After

Width:  |  Height:  |  Size: 414 B

+2 -2
View File
@@ -1,7 +1,7 @@
<svg <svg
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
width="24" width="120"
height="24" height="120"
viewBox="0 0 24 24" viewBox="0 0 24 24"
fill="none" fill="none"
stroke="currentColor" stroke="currentColor"

Before

Width:  |  Height:  |  Size: 371 B

After

Width:  |  Height:  |  Size: 373 B

+2 -2
View File
@@ -1,7 +1,7 @@
<svg <svg
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
width="24" width="120"
height="24" height="120"
viewBox="0 0 24 24" viewBox="0 0 24 24"
fill="none" fill="none"
stroke="currentColor" stroke="currentColor"

Before

Width:  |  Height:  |  Size: 418 B

After

Width:  |  Height:  |  Size: 420 B

+2 -2
View File
@@ -1,7 +1,7 @@
<svg <svg
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
width="24" width="120"
height="24" height="120"
viewBox="0 0 24 24" viewBox="0 0 24 24"
fill="none" fill="none"
stroke="currentColor" stroke="currentColor"

Before

Width:  |  Height:  |  Size: 297 B

After

Width:  |  Height:  |  Size: 299 B

+2 -2
View File
@@ -1,7 +1,7 @@
<svg <svg
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
width="24" width="120"
height="24" height="120"
viewBox="0 0 24 24" viewBox="0 0 24 24"
fill="none" fill="none"
stroke="currentColor" stroke="currentColor"

Before

Width:  |  Height:  |  Size: 586 B

After

Width:  |  Height:  |  Size: 588 B

+2 -2
View File
@@ -1,7 +1,7 @@
<svg <svg
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
width="24" width="120"
height="24" height="120"
viewBox="0 0 24 24" viewBox="0 0 24 24"
fill="none" fill="none"
stroke="currentColor" stroke="currentColor"

Before

Width:  |  Height:  |  Size: 578 B

After

Width:  |  Height:  |  Size: 580 B

+13
View File
@@ -0,0 +1,13 @@
<svg
xmlns="http://www.w3.org/2000/svg"
width="120"
height="120"
viewBox="0 0 24 24"
fill="none"
stroke="#e7b45c"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.12 2.12 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.12 2.12 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.12 2.12 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16z" />
</svg>

After

Width:  |  Height:  |  Size: 575 B

+13
View File
@@ -0,0 +1,13 @@
<svg
xmlns="http://www.w3.org/2000/svg"
width="120"
height="120"
viewBox="0 0 24 24"
fill="none"
stroke="#ffffff"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.12 2.12 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.12 2.12 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.12 2.12 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16z" />
</svg>

After

Width:  |  Height:  |  Size: 575 B

+2 -2
View File
@@ -1,7 +1,7 @@
<svg <svg
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
width="24" width="120"
height="24" height="120"
viewBox="0 0 24 24" viewBox="0 0 24 24"
fill="none" fill="none"
stroke="currentColor" stroke="currentColor"

Before

Width:  |  Height:  |  Size: 309 B

After

Width:  |  Height:  |  Size: 311 B

+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=9 version/code=16
version/name="0.5.1" version/name="0.6.4"
package/unique_name="com.ratdoku.game" package/unique_name="com.ratdoku.game"
package/name="Ratdoku" package/name="Ratdoku"
package/signed=true package/signed=true
+3 -1
View File
@@ -12,9 +12,11 @@ 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.5.1-alpha" config/version="0.6.4-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/bg_color=Color(0.984314, 0.945098, 0.87451, 1)
[autoload] [autoload]
+12
View File
@@ -0,0 +1,12 @@
[gd_scene load_steps=2 format=3]
[ext_resource type="Script" path="res://scripts/Streak.gd" id="1_streak"]
[node name="Streak" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_streak")
+56
View File
@@ -0,0 +1,56 @@
class_name Avatars
extends RefCounted
## Selectable profile portraits. Crumb is always available; guest portraits
## unlock with the corresponding Guest Book entry.
static func all() -> Array:
var out := [{
"id": "crumb",
"name": "Crumb",
"path": "res://art/crumb_head.png",
"room": 0,
}]
for guest in Guests.all():
var id := str(guest.get("id", ""))
if id.is_empty():
continue
out.append({
"id": id,
"name": str(guest.get("name", id)),
"path": Guests.portrait(id, "thumbs"),
"room": int(guest.get("unlock_room", 0)),
})
return out
static func by_id(id: String) -> Dictionary:
for avatar in all():
if str(avatar.get("id", "")) == id:
return avatar
return {}
static func portrait_path(id: String) -> String:
var avatar := by_id(id)
if avatar.is_empty():
return "res://art/crumb_head.png"
return str(avatar.get("path", "res://art/crumb_head.png"))
static func is_unlocked(id: String) -> bool:
if id == "crumb":
return true
var avatar := by_id(id)
if avatar.is_empty():
return false
return SaveGame.is_guest_unlocked(id)
static func requirement_text(id: String) -> String:
var avatar := by_id(id)
if avatar.is_empty():
return ""
if id == "crumb":
return "Always available"
return "Meet in Room %d" % int(avatar.get("room", 0))
+1
View File
@@ -0,0 +1 @@
uid://c5700f5m3iuxh
+40 -2
View File
@@ -29,9 +29,47 @@ static func key_from_day_number(day: int) -> String:
return "%04d-%02d-%02d" % [int(d.get("year", 0)), int(d.get("month", 0)), int(d.get("day", 0))] return "%04d-%02d-%02d" % [int(d.get("year", 0)), int(d.get("month", 0)), int(d.get("day", 0))]
## Stable per-date room choice. With 30 rooms the pool repeats monthly. ## Monday-to-Sunday keys for the week containing today.
static func week_keys() -> Array:
var date := Time.get_date_dict_from_system()
var weekday := int(date.get("weekday", 0)) # Godot: 0 = Sunday.
var monday_offset := (weekday + 6) % 7
var base := day_number(today_key()) - monday_offset
var out := []
for i in range(7):
out.append(key_from_day_number(base + i))
return out
static func weekday_labels() -> Array:
return ["MON", "TUE", "WED", "THU", "FRI", "SAT", "SUN"]
static func goal_text(streak: int) -> String:
if streak >= 7:
return "Week complete — your 7-day gift is ready."
if streak >= 3:
return "%d more day%s until the Night Owl frame" % [7 - streak, "" if 7 - 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. 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])
Loaded 100 of 117 files, more files were not shown because too many files have changed in this diff. Show more