Fix the open battle, town, and dungeon bugs #54

Merged
ValleyGeek merged 5 commits from 0.5.0/open-issues into main 2026-11-09 00:12:12 +00:00
Member

Summary

Fixes the eight open issues. VERSION is 0.5.0.

  • #21 Camp and the dungeon stairs consume input before the battle scene replaces the world view.
  • #22 Battle juice follows a monotonic log count, so damage numbers, sounds, and shake continue after the log keeps eight lines.
  • #23 A wipe stands beside the last town's healer and sets the floor to 1. The deity's return to Calwen uses that stand.
  • #24 An inn rest, a camp, and a healer grant the HP skill before filling HP and MP.
  • #25 A boss phases when its HP reaches 0, refills, doubles magic defense, and spends that turn. Game Design §6.2 states no HP threshold. Technical Outline §4.1 sets 0 HP, so the outline stands. Half HP does not transform.
  • #26 Floor 1 shows a teleport circle beside the up stairs once any fifth floor of that dungeon is discovered. Every fifth floor, including a boss floor, keeps its circle. A teleport onto an undefeated boss floor starts that fight.
  • #27 A battle spell cost shows a whole number of MP.
  • #52 The field window paints the strip that enters on a step. Speed, doors, gates, and town time stay as specified.

Verification

GUT: 51 tests passed.

Playtest bash tools/playtest/run.sh --seeds 1,2,3 (playtest_out/20261108-113911): each seed ends at boss_defeated with no findings and no hitches.

Closes #21
Closes #22
Closes #23
Closes #24
Closes #25
Closes #26
Closes #27
Closes #52

## Summary Fixes the eight open issues. `VERSION` is 0.5.0. - #21 Camp and the dungeon stairs consume input before the battle scene replaces the world view. - #22 Battle juice follows a monotonic log count, so damage numbers, sounds, and shake continue after the log keeps eight lines. - #23 A wipe stands beside the last town's healer and sets the floor to 1. The deity's return to Calwen uses that stand. - #24 An inn rest, a camp, and a healer grant the HP skill before filling HP and MP. - #25 A boss phases when its HP reaches 0, refills, doubles magic defense, and spends that turn. Game Design §6.2 states no HP threshold. Technical Outline §4.1 sets 0 HP, so the outline stands. Half HP does not transform. - #26 Floor 1 shows a teleport circle beside the up stairs once any fifth floor of that dungeon is discovered. Every fifth floor, including a boss floor, keeps its circle. A teleport onto an undefeated boss floor starts that fight. - #27 A battle spell cost shows a whole number of MP. - #52 The field window paints the strip that enters on a step. Speed, doors, gates, and town time stay as specified. ## Verification GUT: 51 tests passed. Playtest `bash tools/playtest/run.sh --seeds 1,2,3` (`playtest_out/20261108-113911`): each seed ends at `boss_defeated` with no findings and no hitches. Closes #21 Closes #22 Closes #23 Closes #24 Closes #25 Closes #26 Closes #27 Closes #52
Fix the open battle, town, and dungeon bugs
All checks were successful
CI / test (push) Successful in 19s
CI / lint (push) Successful in 24s
CI / release (push) Successful in 1m9s
24bbf490f1
Camp and stair input is consumed before the battle scene replaces the world view, so the viewport call no longer runs after that view is gone. Battle juice follows a monotonic log count. The on-screen log still keeps eight lines, and the view juices only the lines added since the last count, so damage numbers, sounds, and shake continue after the cap drops older lines.

A wipe, and the deity's return to Calwen, stands on a walkable cell beside the healer and sets the floor to 1. The old placement used the town gate spawn and left the dungeon floor number in place. HP is filled. MP stays as it was, which is what Game Design §9 states for a town wipe. Inn, camp, and the healer grant the HP skill before they fill HP and MP. Filling first left HP at the old maximum when the grant raised it.

A boss whose HP reaches 0 stays in the fight. On its turn it advances a phase, refills HP, doubles magic defense, and spends that turn. Half HP does not transform. Game Design §6.2 states no HP threshold. Technical Outline §4.1 sets the threshold at 0, so the outline stands. The old check transformed at half HP, and a body already at 0 HP was skipped before it could phase.

Floor 1 gains a teleport circle beside the up stairs once any fifth floor of that dungeon is discovered, including a circle added to a layout cached before that discovery. Every fifth floor, including a boss floor, keeps its circle. A teleport onto an undefeated boss floor starts that fight. The old rule placed circles only on floors whose number was a multiple of 5 and passed no circle on a boss floor.

Spell costs print as whole MP. JSON loads those costs as floats, and the caption used %s. The field window shifts the strip that enters when the party steps, instead of clearing and repainting every cell. Place changes, resizes, and jumps larger than the window still repaint. Speed, doors, gates, and town time stay as they were. Dungeon step rules are unchanged.

The phase detector reads the HP the phase consumed. A prior snapshot can still show HP from before the killing blow, because that blow and the boss turn land in one sample.
Set VERSION to 0.5.0
Some checks failed
CI / test (push) Successful in 19s
CI / lint (push) Successful in 24s
CI / test (pull_request) Successful in 20s
CI / lint (pull_request) Successful in 29s
CI / release (pull_request) Has been skipped
CI / release (push) Failing after 49s
9122bd12d6
The branch changes when a boss phases, adds entrance teleport circles, and changes how the town window paints. That is a minor step from 0.4.24. The changelog notes move from Unreleased into 0.5.0. This is the commit to squash onto main.
Keep the party facing, the landing, and the floor they are standing on
Some checks failed
CI / test (pull_request) Successful in 20s
CI / test (push) Successful in 20s
CI / lint (push) Successful in 26s
CI / lint (pull_request) Successful in 25s
CI / release (pull_request) Has been skipped
CI / release (push) Failing after 48s
4ade715a04
A blocked step faced the wall for the bump, then restored the previous facing when the bump ended. The step returned before it stored the direction, and the view copied that stored facing once the bump finished. The direction is stored before the walk check, so the party stays facing the wall.

Dungeon entry already chose the cell south of the up stairs. The hero sprite stayed on the town cell until the next step, so the party appeared beside the stairs. A jump snaps the sprite and the camera, and floor 1's up stairs return the party to the walkable cell south of that city's dungeon door. Every city uses that pair of landings. A stair between floors still stands on the destination stair.

An open-wild day encounter used species weights 8, 8, and 8, with Nothing at 76. At four tiles a second that was a fight about once a second. Day weights are 2, 2, and 2, and night weights are 4, 4, and 4. Nothing takes the rest. Weight 1 was rejected because a road or a quiet ring halves a species weight, and 1 becomes 0.

Town keepers and guards share one post list, and the cell a post occupies blocks a step. The gate center stays clear. A merchant becomes a villager at night and keeps the same cell.

A held move waits 500 ms after a change of place or dungeon floor. Releasing the move clears the wait, so the next press steps at once. The first bind and a one-tile step do not wait.

A camp battle drew the field backdrop in a dungeon. It draws the dungeon backdrop, and a boss floor draws the boss backdrop. The existing three paintings are the only ones used. The battle stays a camp, so it still pays no gold and no items.

A dungeon floor change shifted the old window, so the previous floor stayed on screen until the party stepped. The floor change clears that window and paints the current cells before the next step. Painting that window through a call per cell hitched the frame. The dungeon fill stays in one loop. An opened chest left its sprite because the cell type stayed chest. The cell is drawn as floor, and only that cell is repainted.
Set the Godot project version to 0.5.0
All checks were successful
CI / test (push) Successful in 19s
CI / test (pull_request) Successful in 19s
CI / lint (push) Successful in 27s
CI / lint (pull_request) Successful in 24s
CI / release (pull_request) Has been skipped
CI / release (push) Successful in 1m5s
5013d8ffc0
project.godot still said 0.4.24 after VERSION became 0.5.0. The release export stops when those strings differ, so the dev build stayed on 24bbf49. The project version now matches VERSION.
Write VERSION into the Godot project before export
All checks were successful
CI / test (pull_request) Successful in 18s
CI / test (push) Successful in 19s
CI / lint (push) Successful in 27s
CI / release (push) Successful in 5s
CI / lint (pull_request) Successful in 25s
CI / release (pull_request) Has been skipped
454ba63c13
The export stopped when project.godot config/version disagreed with VERSION, so a code push that needed a release published nothing. The export now writes VERSION into config/version and then builds. The committed project file still keeps that same string.
ValleyGeek deleted branch 0.5.0/open-issues 2026-11-09 00:12:12 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ai-collab/animrpg202610!54
No description provided.