Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0cc08de31b | ||
|
|
2eff00e59d | ||
|
|
898dedde94 | ||
|
|
f9ab1c26a0 |
No files matched your search
@@ -2,6 +2,23 @@
|
||||
|
||||
All notable alpha milestones for Ratdoku.
|
||||
|
||||
## 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.
|
||||
|
||||
@@ -16,6 +16,7 @@ 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.**
|
||||
- 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.
|
||||
- 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.
|
||||
- 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.
|
||||
- Tap **Crumb** in the top-left to open your Profile, where you can choose an avatar and a frame. Choices apply on Confirm.
|
||||
@@ -126,7 +127,7 @@ The generator appends until `data/levels.json` contains 30 rooms. It keeps the e
|
||||
|
||||
## 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:
|
||||
|
||||
@@ -134,7 +135,7 @@ Runtime assets:
|
||||
- `art/guests/cards/<id>.png` — detail portraits
|
||||
- `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
|
||||
|
||||
@@ -147,12 +148,12 @@ build/Ratdoku.apk
|
||||
It is a **debug-signed, arm64-v8a** APK:
|
||||
|
||||
- Package: `com.ratdoku.game`
|
||||
- Version: `0.6.0` (version code 12)
|
||||
- Version: `0.6.2` (version code 14)
|
||||
- Min SDK: 24 (Android 7.0)
|
||||
- Target SDK: 36
|
||||
- Size: about 41 MB
|
||||
- Portrait orientation
|
||||
- Build label: `v0.6.0-alpha · build 2026-12-02`
|
||||
- Build label: `v0.6.2-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:
|
||||
|
||||
@@ -201,7 +202,7 @@ Run the whole QA suite (class scan, every test script, log-error scan, optional
|
||||
|
||||
## Versioning and releases
|
||||
|
||||
The current development build is **v0.6.0-alpha** (“New Looks & Streaks”) with the build label on Home and in Settings.
|
||||
The current development build is **v0.6.2-alpha** (“Clean Cutouts”) with the build label on Home and in Settings.
|
||||
|
||||
Gitea repository:
|
||||
|
||||
@@ -221,14 +222,16 @@ Alpha releases (all marked prerelease, each with a debug APK and source archive)
|
||||
- **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
|
||||
|
||||
https://gitea.nyxara.cc/Ahri-the-Vastaya/Ratdoku/releases/tag/v0.6.0-alpha
|
||||
https://gitea.nyxara.cc/Ahri-the-Vastaya/Ratdoku/releases/tag/v0.6.2-alpha
|
||||
|
||||
The v0.6.0-alpha APK is also at:
|
||||
The v0.6.2-alpha APK is also at:
|
||||
|
||||
`https://gitea.nyxara.cc/Ahri-the-Vastaya/Ratdoku/releases/download/v0.6.0-alpha/Ratdoku-v0.6.0-alpha.apk`
|
||||
`https://gitea.nyxara.cc/Ahri-the-Vastaya/Ratdoku/releases/download/v0.6.2-alpha/Ratdoku-v0.6.2-alpha.apk`
|
||||
|
||||
`redesign-360` is the branch with the current 360dp work; it is tagged `v0.6.0-alpha`.
|
||||
`redesign-360` is the branch with the current 360dp work; it is tagged `v0.6.2-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`).
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 478 KiB After Width: | Height: | Size: 194 KiB |
|
Before Width: | Height: | Size: 429 KiB After Width: | Height: | Size: 193 KiB |
|
Before Width: | Height: | Size: 431 KiB After Width: | Height: | Size: 187 KiB |
|
Before Width: | Height: | Size: 487 KiB After Width: | Height: | Size: 245 KiB |
|
Before Width: | Height: | Size: 485 KiB After Width: | Height: | Size: 224 KiB |
|
Before Width: | Height: | Size: 481 KiB After Width: | Height: | Size: 198 KiB |
|
Before Width: | Height: | Size: 453 KiB After Width: | Height: | Size: 217 KiB |
|
Before Width: | Height: | Size: 472 KiB After Width: | Height: | Size: 243 KiB |
|
Before Width: | Height: | Size: 450 KiB After Width: | Height: | Size: 184 KiB |
|
Before Width: | Height: | Size: 401 KiB After Width: | Height: | Size: 218 KiB |
|
Before Width: | Height: | Size: 441 KiB After Width: | Height: | Size: 215 KiB |
|
Before Width: | Height: | Size: 473 KiB After Width: | Height: | Size: 222 KiB |
|
Before Width: | Height: | Size: 390 KiB After Width: | Height: | Size: 228 KiB |
|
Before Width: | Height: | Size: 493 KiB After Width: | Height: | Size: 210 KiB |
|
Before Width: | Height: | Size: 503 KiB After Width: | Height: | Size: 225 KiB |
|
Before Width: | Height: | Size: 460 KiB After Width: | Height: | Size: 156 KiB |
|
Before Width: | Height: | Size: 487 KiB After Width: | Height: | Size: 224 KiB |
|
Before Width: | Height: | Size: 447 KiB After Width: | Height: | Size: 191 KiB |
|
Before Width: | Height: | Size: 505 KiB After Width: | Height: | Size: 215 KiB |
|
Before Width: | Height: | Size: 495 KiB After Width: | Height: | Size: 199 KiB |
|
Before Width: | Height: | Size: 469 KiB After Width: | Height: | Size: 217 KiB |
|
Before Width: | Height: | Size: 459 KiB After Width: | Height: | Size: 186 KiB |
|
Before Width: | Height: | Size: 478 KiB After Width: | Height: | Size: 188 KiB |
|
Before Width: | Height: | Size: 505 KiB After Width: | Height: | Size: 208 KiB |
|
Before Width: | Height: | Size: 474 KiB After Width: | Height: | Size: 239 KiB |
|
Before Width: | Height: | Size: 122 KiB After Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 109 KiB After Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 122 KiB After Width: | Height: | Size: 56 KiB |
|
Before Width: | Height: | Size: 119 KiB After Width: | Height: | Size: 73 KiB |
|
Before Width: | Height: | Size: 123 KiB After Width: | Height: | Size: 66 KiB |
|
Before Width: | Height: | Size: 125 KiB After Width: | Height: | Size: 60 KiB |
|
Before Width: | Height: | Size: 109 KiB After Width: | Height: | Size: 65 KiB |
|
Before Width: | Height: | Size: 117 KiB After Width: | Height: | Size: 73 KiB |
|
Before Width: | Height: | Size: 114 KiB After Width: | Height: | Size: 55 KiB |
|
Before Width: | Height: | Size: 115 KiB After Width: | Height: | Size: 65 KiB |
|
Before Width: | Height: | Size: 123 KiB After Width: | Height: | Size: 65 KiB |
|
Before Width: | Height: | Size: 111 KiB After Width: | Height: | Size: 67 KiB |
|
Before Width: | Height: | Size: 104 KiB After Width: | Height: | Size: 68 KiB |
|
Before Width: | Height: | Size: 126 KiB After Width: | Height: | Size: 63 KiB |
|
Before Width: | Height: | Size: 125 KiB After Width: | Height: | Size: 68 KiB |
|
Before Width: | Height: | Size: 120 KiB After Width: | Height: | Size: 47 KiB |
|
Before Width: | Height: | Size: 120 KiB After Width: | Height: | Size: 67 KiB |
|
Before Width: | Height: | Size: 109 KiB After Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 124 KiB After Width: | Height: | Size: 65 KiB |
|
Before Width: | Height: | Size: 118 KiB After Width: | Height: | Size: 61 KiB |
|
Before Width: | Height: | Size: 118 KiB After Width: | Height: | Size: 65 KiB |
|
Before Width: | Height: | Size: 112 KiB After Width: | Height: | Size: 55 KiB |
|
Before Width: | Height: | Size: 117 KiB After Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 120 KiB After Width: | Height: | Size: 62 KiB |
|
Before Width: | Height: | Size: 119 KiB After Width: | Height: | Size: 71 KiB |
|
Before Width: | Height: | Size: 132 KiB After Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 119 KiB After Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 120 KiB After Width: | Height: | Size: 56 KiB |
|
Before Width: | Height: | Size: 132 KiB After Width: | Height: | Size: 73 KiB |
|
Before Width: | Height: | Size: 132 KiB After Width: | Height: | Size: 66 KiB |
|
Before Width: | Height: | Size: 131 KiB After Width: | Height: | Size: 60 KiB |
|
Before Width: | Height: | Size: 125 KiB After Width: | Height: | Size: 65 KiB |
|
Before Width: | Height: | Size: 130 KiB After Width: | Height: | Size: 73 KiB |
|
Before Width: | Height: | Size: 124 KiB After Width: | Height: | Size: 55 KiB |
|
Before Width: | Height: | Size: 113 KiB After Width: | Height: | Size: 65 KiB |
|
Before Width: | Height: | Size: 122 KiB After Width: | Height: | Size: 65 KiB |
|
Before Width: | Height: | Size: 130 KiB After Width: | Height: | Size: 67 KiB |
|
Before Width: | Height: | Size: 109 KiB After Width: | Height: | Size: 68 KiB |
|
Before Width: | Height: | Size: 136 KiB After Width: | Height: | Size: 63 KiB |
|
Before Width: | Height: | Size: 138 KiB After Width: | Height: | Size: 68 KiB |
|
Before Width: | Height: | Size: 125 KiB After Width: | Height: | Size: 47 KiB |
|
Before Width: | Height: | Size: 134 KiB After Width: | Height: | Size: 67 KiB |
|
Before Width: | Height: | Size: 125 KiB After Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 137 KiB After Width: | Height: | Size: 65 KiB |
|
Before Width: | Height: | Size: 136 KiB After Width: | Height: | Size: 61 KiB |
|
Before Width: | Height: | Size: 129 KiB After Width: | Height: | Size: 65 KiB |
|
Before Width: | Height: | Size: 128 KiB After Width: | Height: | Size: 55 KiB |
|
Before Width: | Height: | Size: 133 KiB After Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 138 KiB After Width: | Height: | Size: 62 KiB |
|
Before Width: | Height: | Size: 129 KiB After Width: | Height: | Size: 71 KiB |
@@ -32,8 +32,8 @@ architectures/armeabi-v7a=false
|
||||
architectures/arm64-v8a=true
|
||||
architectures/x86=false
|
||||
architectures/x86_64=false
|
||||
version/code=12
|
||||
version/name="0.6.0"
|
||||
version/code=14
|
||||
version/name="0.6.2"
|
||||
package/unique_name="com.ratdoku.game"
|
||||
package/name="Ratdoku"
|
||||
package/signed=true
|
||||
|
||||
@@ -12,7 +12,7 @@ config_version=5
|
||||
|
||||
config/name="Ratdoku"
|
||||
run/main_scene="res://scenes/Main.tscn"
|
||||
config/version="0.6.0-alpha"
|
||||
config/version="0.6.2-alpha"
|
||||
config/features=PackedStringArray("4.7", "GL Compatibility")
|
||||
config/icon="res://icon.png"
|
||||
boot_splash/show_image=false
|
||||
|
||||
@@ -349,6 +349,11 @@ func restart_room() -> void:
|
||||
start_level(level_index, daily_mode, daily_key)
|
||||
|
||||
|
||||
func hide_win() -> void:
|
||||
win_shown = false
|
||||
overlay.visible = false
|
||||
|
||||
|
||||
func _on_board_changed() -> void:
|
||||
if win_shown:
|
||||
return
|
||||
|
||||
@@ -15,6 +15,8 @@ var rulebook
|
||||
var profile
|
||||
var streak
|
||||
var settings_sheet
|
||||
var quit_layer: ColorRect
|
||||
var quit_button: Button
|
||||
var screens := {}
|
||||
var current := "home"
|
||||
var nav_stack: Array[String] = []
|
||||
@@ -69,6 +71,8 @@ func _ready() -> void:
|
||||
settings_sheet.lobby_requested.connect(_on_lobby_requested)
|
||||
settings_sheet.rules_requested.connect(_on_rules_requested)
|
||||
|
||||
_build_quit_confirm()
|
||||
|
||||
screens = {
|
||||
"home": home,
|
||||
"game": game,
|
||||
@@ -160,3 +164,121 @@ func _on_daily() -> void:
|
||||
var index := Daily.level_index(game.levels.size(), key)
|
||||
show_screen("game")
|
||||
game.start_daily(index, key)
|
||||
|
||||
|
||||
func _input(event: InputEvent) -> void:
|
||||
if event.is_action_pressed("ui_cancel"):
|
||||
if _handle_back():
|
||||
accept_event()
|
||||
|
||||
|
||||
func _notification(what: int) -> void:
|
||||
if what == NOTIFICATION_WM_GO_BACK_REQUEST:
|
||||
_handle_back()
|
||||
|
||||
|
||||
func _handle_back() -> bool:
|
||||
if quit_layer != null and quit_layer.visible:
|
||||
_hide_quit_confirm()
|
||||
return true
|
||||
if settings_sheet != null and settings_sheet.visible:
|
||||
if settings_sheet.confirm_layer != null and settings_sheet.confirm_layer.visible:
|
||||
settings_sheet._hide_confirm()
|
||||
else:
|
||||
close_settings()
|
||||
return true
|
||||
if guest_book != null and guest_book.visible and guest_book.detail_layer.visible:
|
||||
guest_book._detail_opened_at -= DETAIL_GUARD_BYPASS_MS
|
||||
guest_book._try_close_detail()
|
||||
return true
|
||||
if current == "game" and game != null and game.overlay.visible:
|
||||
game.hide_win()
|
||||
return true
|
||||
if current == "home":
|
||||
_show_quit_confirm()
|
||||
return true
|
||||
go_back()
|
||||
return true
|
||||
|
||||
|
||||
const DETAIL_GUARD_BYPASS_MS := 300
|
||||
|
||||
|
||||
func _build_quit_confirm() -> void:
|
||||
quit_layer = ColorRect.new()
|
||||
quit_layer.color = Color(0.18, 0.12, 0.08, 0.62)
|
||||
quit_layer.set_anchors_and_offsets_preset(Control.PRESET_FULL_RECT)
|
||||
quit_layer.mouse_filter = Control.MOUSE_FILTER_STOP
|
||||
quit_layer.gui_input.connect(func(event: InputEvent) -> void:
|
||||
if event is InputEventMouseButton and event.pressed and event.button_index == MOUSE_BUTTON_LEFT:
|
||||
_hide_quit_confirm()
|
||||
)
|
||||
quit_layer.visible = false
|
||||
add_child(quit_layer)
|
||||
|
||||
var center := CenterContainer.new()
|
||||
center.set_anchors_and_offsets_preset(Control.PRESET_FULL_RECT)
|
||||
center.mouse_filter = Control.MOUSE_FILTER_IGNORE
|
||||
quit_layer.add_child(center)
|
||||
|
||||
var panel := UI.panel(Palette.CREAM, 24, 16)
|
||||
var max_width: int = max(240, int(get_viewport_rect().size.x) - 32)
|
||||
panel.custom_minimum_size = Vector2(min(320, max_width), 0)
|
||||
panel.mouse_filter = Control.MOUSE_FILTER_STOP
|
||||
center.add_child(panel)
|
||||
|
||||
var box := VBoxContainer.new()
|
||||
box.add_theme_constant_override("separation", 10)
|
||||
panel.add_child(box)
|
||||
box.add_child(UI.heading("Leave Ratdoku?", 20))
|
||||
var body := UI.label("Thanks for playing. Come back tomorrow for a new daily room.", 13, Palette.MUTED)
|
||||
body.horizontal_alignment = HORIZONTAL_ALIGNMENT_LEFT
|
||||
box.add_child(body)
|
||||
|
||||
var actions := HBoxContainer.new()
|
||||
actions.add_theme_constant_override("separation", 8)
|
||||
box.add_child(actions)
|
||||
var cancel := UI.button("Cancel", false, 46)
|
||||
cancel.size_flags_horizontal = Control.SIZE_EXPAND_FILL
|
||||
cancel.pressed.connect(_hide_quit_confirm)
|
||||
actions.add_child(cancel)
|
||||
quit_button = UI.button("Quit", false, 46)
|
||||
quit_button.size_flags_horizontal = Control.SIZE_EXPAND_FILL
|
||||
_apply_red_style(quit_button)
|
||||
quit_button.pressed.connect(func() -> void: get_tree().quit())
|
||||
actions.add_child(quit_button)
|
||||
|
||||
|
||||
func _show_quit_confirm() -> void:
|
||||
quit_layer.visible = true
|
||||
quit_layer.move_to_front()
|
||||
|
||||
|
||||
func _hide_quit_confirm() -> void:
|
||||
quit_layer.visible = false
|
||||
|
||||
|
||||
func _apply_red_style(button: Button) -> void:
|
||||
var color := Palette.RED
|
||||
button.add_theme_stylebox_override("normal", _red_box(color))
|
||||
button.add_theme_stylebox_override("hover", _red_box(color.lightened(0.07)))
|
||||
button.add_theme_stylebox_override("pressed", _red_box(color.darkened(0.10)))
|
||||
button.add_theme_stylebox_override("focus", _red_box(color))
|
||||
button.add_theme_color_override("font_color", Palette.WHITE)
|
||||
button.add_theme_color_override("font_hover_color", Palette.WHITE)
|
||||
button.add_theme_color_override("font_pressed_color", Palette.WHITE)
|
||||
button.add_theme_color_override("font_focus_color", Palette.WHITE)
|
||||
|
||||
|
||||
func _red_box(color: Color) -> StyleBoxFlat:
|
||||
var style := StyleBoxFlat.new()
|
||||
style.bg_color = color
|
||||
style.corner_radius_top_left = 26
|
||||
style.corner_radius_top_right = 26
|
||||
style.corner_radius_bottom_left = 26
|
||||
style.corner_radius_bottom_right = 26
|
||||
style.content_margin_left = 16
|
||||
style.content_margin_right = 16
|
||||
style.content_margin_top = 10
|
||||
style.content_margin_bottom = 10
|
||||
return style
|
||||
@@ -1,7 +1,7 @@
|
||||
class_name Version
|
||||
extends RefCounted
|
||||
|
||||
const NUMBER := "0.6.0-alpha"
|
||||
const CODENAME := "New Looks & Streaks"
|
||||
const BUILD_DATE := "2026-12-02"
|
||||
const BUILD_LABEL := "v0.6.0-alpha · build 2026-12-02"
|
||||
const NUMBER := "0.6.2-alpha"
|
||||
const CODENAME := "Clean Cutouts"
|
||||
const BUILD_DATE := "2026-12-03"
|
||||
const BUILD_LABEL := "v0.6.2-alpha · build 2026-12-03"
|
||||
@@ -46,6 +46,7 @@ func _run() -> void:
|
||||
await _test_daily(main, save)
|
||||
await _test_campaign(main, save)
|
||||
await _test_guest_book(main)
|
||||
await _test_back(main)
|
||||
_restore_defaults(save)
|
||||
|
||||
print("QA UI: ", "PASS" if failures == 0 else "FAIL (%d)" % failures)
|
||||
@@ -148,6 +149,58 @@ func _test_settings(main, save) -> void:
|
||||
main.show_screen("home", false)
|
||||
|
||||
|
||||
func _test_back(main) -> void:
|
||||
var back_event := InputEventAction.new()
|
||||
back_event.action = "ui_cancel"
|
||||
back_event.pressed = true
|
||||
|
||||
main.show_screen("home", false)
|
||||
await process_frame
|
||||
main._input(back_event)
|
||||
await process_frame
|
||||
_check(main.quit_layer.visible, "Android back on Home should open quit confirmation")
|
||||
main._input(back_event)
|
||||
await process_frame
|
||||
_check(not main.quit_layer.visible, "second back should dismiss quit confirmation")
|
||||
|
||||
main.open_settings("home")
|
||||
await process_frame
|
||||
main._input(back_event)
|
||||
await process_frame
|
||||
_check(not main.settings_sheet.visible, "back should close the settings sheet")
|
||||
|
||||
main.open_settings("home")
|
||||
await process_frame
|
||||
main.settings_sheet._on_reset()
|
||||
await process_frame
|
||||
main._input(back_event)
|
||||
await process_frame
|
||||
_check(
|
||||
not main.settings_sheet.confirm_layer.visible and main.settings_sheet.visible,
|
||||
"back should dismiss a confirmation before closing settings"
|
||||
)
|
||||
main.close_settings()
|
||||
|
||||
main.show_screen("guest_book", false)
|
||||
await process_frame
|
||||
main.guest_book._show_detail(Guests.by_id("miso"))
|
||||
await process_frame
|
||||
main._input(back_event)
|
||||
await process_frame
|
||||
_check(not main.guest_book.detail_layer.visible, "back should close the guest detail")
|
||||
|
||||
main.show_screen("game", false)
|
||||
main.game.start_level(0)
|
||||
await process_frame
|
||||
main.game.overlay.visible = true
|
||||
main.game.win_shown = true
|
||||
main._input(back_event)
|
||||
await process_frame
|
||||
_check(not main.game.overlay.visible, "back should close the win overlay first")
|
||||
_check(not main.game.win_shown, "win state should clear when the overlay closes")
|
||||
main.show_screen("home", false)
|
||||
|
||||
|
||||
func _test_profile(main, save) -> void:
|
||||
# Five campaign rooms and a three-day streak unlock Paper and Regular.
|
||||
save.reset_progress()
|
||||
|
||||
@@ -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
|
||||