- Android back: application/config/quit_on_go_back=false; Main.go_back()
(from NOTIFICATION_WM_GO_BACK_REQUEST, phones only) closes the shop or
pouch panel or leaves build mode, else pauses; paused it closes the
question, then settings, then resumes (shared with the pause action);
at the main menu it closes the question or settings, else quits.
- Phones hide the main menu's Quit and the pause menu's Quit the game.
- ScreenLabels.ensure() makes the one ScreenLabels (ToonLook's on
desktop; Main's on phones, which watch()es the tree for Label3Ds).
Label sizes grow with the window's content_scale_factor (1 on desktop).
- FollowCamera starts at PHONE_DISTANCE (12 m) on phones.
- MobilePort.forced for tests; game/tests/mobile/platform_test.gd.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owning the Sprint upgrade now multiplies the scarecrow's speed by
sprint_speed_mult (1.25) all the time, walking and running, on every
platform; the run clip speeds up to match. The hold-to-sprint burst is
gone: sprint_time, sprint_cooldown, the stamina state in PlayerCharacter
(can_sprint is now has_sprint), and the HUD's stamina bar. The upgrade
keeps its id, cost, and name; its text is "Run 25% faster, always".
The sprint input action stays in project.godot, unused.
Tests: test_scarecrow's sprint checks cover 1x without it, x1.25 with it
(run and walk, clip speed, network strength), 30 s with no time limit,
no cooldown, the next morning, and no platform dependence; test_nights
checks it after the retry and a loaded save; test_economy checks the
text matches the multiplier, the menu row, and that an old save's
{"sprint": 1} still owns it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Prompts (game/scripts/prompts.gd) holds every key-naming prompt: on a phone
(MobilePort.active()) it says each in touch words, elsewhere exactly the old
string. World labels drop the key (Gather, Repair, Upgrade to, Upgrades, Shop),
the build ghost says Place / Dismantle, the build bar's line is
"Place · Rotate · Dismantle · Done" and its slots drop the number keys, the
cutscenes say "Hold to skip" / "Tap to skip", the tip footer says
"× hides tips", and the tutorial's tips and the first morning's sign name the
thumbs (sides from TouchSticks), Use, Build, Place, Fear, Bomb, Patch, the
hotbar, and the backpack. MobilePort gains the `forced` test override.
game/tests/mobile/prompts_test.gd checks every phone string and that the
desktop strings are byte for byte as before.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Touch controls for every action, an interface scaled for phones inside the safe area, prompts in touch words, platform details, and an Android build; the intro plan this replaces is at 5dbad4c. #46: Sprint becomes a permanent speed upgrade on every platform (the user's call).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
TouchSticks: a finger on the right half of the screen is a move stick where it lands (the move_* actions), one on the left half an attack stick (the aim_* actions, with fire held past the aim dead zone, so the weapon attacks that way each time it's ready). Buttons get their touches first; the sticks only act while the scarecrow can, and a pause or freeze lets them go.
On phones a tap is also an emulated left click, so fire and offhand lose their mouse buttons and ScarecrowCombat ignores emulated mouse events for its aim device. A held finger still skips the intro, and a tap skips the farmers' return.
Docs: the first device run's numbers (night 20 held 60 FPS) and the sticks. Graph update.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signing by reference name, like the team's Timbre app: the Troglodyte App Store Connect integration, the harvest--seasons certificate, and the App Store profile harvest for com.oatmealgames.harvestseason. Build numbers are one past TestFlight's latest (app 6822823738), 1 when there's none.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The HUD's scarecrow portrait (Sketch "portrait") in a gold ring on a night-sky-to-field gradient, as an opaque 1024 PNG (assets/pictures/icons/app_icon.png). It's the iOS preset's icon and the project icon, replacing the Godot logo and the placeholder.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A one-day port to measure a late night on an iPhone before committing to
touch controls (docs/ios-test-port.md).
- MobilePort: on phones (the "mobile" feature) no ToonLook (standard
materials, Mobile renderer), 3D at 0.75 resolution scale, co-op hidden,
microphone never opened, and leaving the app pauses. `-- --mobile` and
`-- --perf-test` turn the same switches on for desktop.
- PerfTest (the iOS preset's "perf_test" feature): frame time, physics,
render CPU and GPU readout, a per-night summary (avg, p99, worst), and
tap buttons for night 20/30, unlock all, next phase, and a shield.
CampaignDebug's jumps also work in that release build.
- iOS export preset (export project only; bundle
com.oatmealgames.harvestseason, team 823T4Q2T3U), an opaque 1024 icon,
filled privacy purpose strings, ETC2/ASTC import, landscape both ways.
- codemagic.yaml: Godot 4.7.2 export, signing, .ipa, TestFlight upload.
Graph update.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
OpeningIntro (game/scripts/opening_intro.gd) plays on every New vacation
(not Continue, not when hosting co-op): the farmers leave in their loaded
station wagon, "Later that night....", a bickering UFO crew drops a part
whose blue flash brings the scarecrow (hung on a post in its T-pose) to life,
the UFO zooms off, then the loading screen and the first morning's sign.
Hold Space / Enter / A (or E, or the mouse button) 1 s to skip from any
stage; Escape pauses it; Restart the night skips it; Save & quit clears it.
It ends with the farm exactly as new_campaign() leaves it.
Hooks: ReviewPanel keeps the sign down while the intro has the farm (and
only focuses Start when the sign is up); DialogueDirector holds its
conversations and the sign, then intro_over() plays night 1's morning
conversations before the sign; Tutorial hides; FarmAudio gets set_scene /
end_scene (ambience and music held by a cutscene) and stop_cue (the morning
stinger plays with the sign instead); Main wires new_vacation(intro),
blocked, resume's freeze, restart and to_menu.
Tests: test_intro (45 checks); test_flow skips the new intro. Tool:
game/tools/capture_intro.gd saves a frame per stage for the timing review.
Docs: README, RULES, LAYOUT (staging points), PLAYTEST.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CutsceneKit (static, shared by FarmersReturn and the coming opening intro):
make_car / add_engine, the tinted farmer mannequins (make_farmer, anim_of),
route_curve / reversed / place_on_curve for any point list, make_camera /
move_camera / follow_camera / face, set_hud, and the Letterbox overlay with a
caller-set skip hint. FarmersReturn now uses it and behaves as before.
load_roof piles National Lampoon style luggage on car_002's rack: farm-pack
bags and crates, four primitive suitcases, and a hatbox, stacked from the
roof found in the car mesh's AABB and vertices, three straps pulled taut over
the pile's real outline, and a rolled mattress lashed off the right side. No
collision. Luggage.sway(delta, turn_rate, accel) leans it out on turns and
forward when braking; the ending's drive uses it.
test_flow: the ending's car is loaded, the pile sits on the car mesh's AABB
top, and it sways the right way.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- DayNight.forced ("" / "morning" / "night") overrides target(); snap()
still works. DayNight.morning() is the MORNING phase's look.
lanterns_dark keeps every lantern at 0.
- synth_audio.gd: ufo_hum (4 s loop), ufo_whine, part_fall, life_flash,
ufo_zoom, car_door, each on its own seed (existing wavs unchanged).
FarmAudio cues for those plus door_creak (kenney creak1/2), all in
LOCAL_CUES.
- PlayerCharacter: a blue core glow on the chest bone (BoneAttachment3D):
an unshaded gem, an additive halo pulled toward the camera, and a weak
pulsing OmniLight3D. On for every scarecrow; set_core_glow(on) hides
it. set_tint skips it; the hit flash overlay and ToonLook leave it alone.
- test_look: forced/lanterns_dark, the intro cues, the glow on both
scarecrows, hit flash intact, set_core_glow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Speakers farmer, farmers_wife, and big_green_alien (the thief head at
380 px, bigger than the little alien's 300, with a lower voice). Two new
Sketch icons, "farmer" (round face, pinched straw hat, moustache) and
"farmers_wife" (curls, straw sun hat with a ribbon and a flower).
dialogue/intro/departure, flight, and uh_oh with the plan's lines, off
(enabled = false), pause_game, auto_advance 1.6. test_dialogue checks
their lines and speakers, that the director still plays only
morning_day_2, and that the new heads draw.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
LoadingScreen (game/scripts/loading_screen.gd): splash-screen.png cover-scaled
with a slow Ken Burns pan and zoom under a vignette, "Harvest Season" in the
handwritten font with a pen underline written in, a sketched progress bar with
the "ufo" icon bobbing over its leading edge, and "Loading..." with cycling
dots. play(seconds) fades in from black and emits finished once at full
progress; fade_out(time) / stop() take it away. Runs while paused; step(delta)
drives it. test_loading covers timing, restart, fade, stop, and pause.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Conversations saved in game/resources/dialogue/ play once at their night and
phase in a paper box with talking heads; example: the morning of day 2.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The #28 soak's recommendation 2, which the user chose:
- character_pool 48 thieves / 20 breakers -> 32 / 40 (thieves never
passed 15 at once; breakers filled 20 from night 11).
- make_nights.gd MIX_TO breakers 0.20 -> 0.12 (flat), UFOs 0.15 -> 0.23;
nights 6-29 regenerated with --force (titles, hints, uids unchanged).
- Night 30: breakers 13 -> 8 base (91 -> 56 played), the 5 moved to its
UFO groups (70 -> 105), so it stays the biggest night at 511.
RULES.md's nights table and limits follow; the soak report records the
decisions. Full suite: same 24 FAIL lines; nights 5 and 10 now arrive in
full in the scarecrow-less back-to-back test.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A released, faded, or cleared character was hidden but its AnimationPlayer
kept looping (the #28 soak found 1-55 still animating at the end of a
night, and on through the day). EnemyCharacters._hide stops it; acquire
already clears the clip, so the next enemy's animation starts at once.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs/thirty-night-soak.md: the whole vacation for 3 seeds with the scripted
scarecrow (per-night arrivals planned / arrived / waited / dropped, peak alive
per type, losses, HP at dawn, levels, materials banked, sim tick), character
pools measured on nights 20 and 30 (48/20, 64/28, 48/40), density experiments,
and three things to tune next. Nothing in the game broke; no numbers changed.
soak_night.gd (cycle mode): per-night report as a table and ROW json lines;
the carry-over check counts the Workbench granted after night 1; a lost night
is retried, then (--shield=after) carried on with the scarecrow shielded; the
scripted player buys the corn shooter first, repairs, rebuilds broken
build-plan pieces, and patches at half its real max health; measuring options
--start, --load, --save-at/--save-dir, --stock, --gather=0, --pool, --frame,
--count-scale, --plan-scale.
test_nights _back_to_back: planned-vs-arrived becomes an accounting check
(arrived, or dropped at sunrise with every character of the type in use;
drops match WaveDirector.dropped; spawn_skipped unchanged), still reporting
the planned / arrived / dropped numbers.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CampaignDebug.unlock_all (debug builds, not on a co-op partner's machine,
until the vacation ends) grants every upgrade and shed item at its last
level for free through Upgrades.grant_all, which shares the new
Upgrades.level_up with buy(), so each level's effect (max health, pouch,
barrier health) applies as if bought. Not counted as bought in the night
record. In the morning review the retry snapshot is retaken
(CampaignController.retake_morning_snapshot) so a retry keeps it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- campaign_nights 5 -> 30. The old night 5 ("The last night") is now night 30, keeping its
uid, title, hint, and 180 s. It grew to 73 base / 511 played in its three waves, with UFO
groups added, at speed x1.25 and HP x1.625.
- New hand-authored night 5, "Lights in the sky": night 4's shape plus the first UFOs (two
single-UFO groups, 14 as played), 24 base.
- New game/tools/make_nights.gd writes nights 6-29 by the plan's recipe (seed 30, sieges on
10/15/20/25, mix, waves, scales, draft titles and hints) as .tres text with fresh uids. It
skips existing files unless --force (which keeps their uids), refuses ranges outside 6..29,
and checks every plan with NightPlan.problems() at the played scales (non-zero exit on any
problem). Generated nights 6-29 are committed.
- test_nights: the arc (30 plans, breakers from night 3 and UFOs from night 5, no non-siege drop
over 15% from night 3 on, sieges, last night longest), the per-night scales, the new night 5
and night 30 designs. The back-to-back run plays nights 1-5, 10, and 30, skipping the rest
with CampaignDebug.jump_morning.
- test_campaign, test_cycle, test_flow read campaign_nights instead of a hard-coded 5.
- RULES (the vacation, the Night row, the thirty nights and their table, the vacation's end),
README, and a dated PLAYTEST section.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The workbench label, the morning screen and the end screen counted an
upgrade as done at level 1 ("N of 17"); they now count levels bought
(Upgrades.levels_bought / levels_total). Pumpkin bombs arrive at the shed
on day 3, so the first-morning text and the shoot tip say more weapons
arrive over the days instead.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Workbench stat upgrades get 3 levels: level L costs costs[id] x
upgrade_cost_growth (1.8) ^ (L - 1), each material rounded up, and opens on
day upgrade_level_days[L - 1] ([1, 8, 16]). Each owned level's "mult"/"add"
entry stacks. Level 1 keeps the user's values and costs (rapid fire 3.0x).
Shed items arrive on set days ("from_day"): corn shooter 1, shurikens 2,
pumpkin bombs 3, potato cannon 6, radar 8, propane torch 10, alien ray 14.
- Upgrades: level(), max_level(), maxed(), cost(cfg, id, level),
next_cost(), per_level(), text_at(), name_at() (roman numerals),
from_day(), level_day(), arrived(). owned() stays "level >= 1". blocker()
adds "Arrives on day N" and "Level N opens on day D"; buy() takes the next
level and applies that level's side effect; upgrades_bought counts every
level. FarmState.upgrades keeps id -> level, so saves don't change shape.
- UpgradePanel: "Rapid fire II" with the next level's text and cost, the
blocker reason, "Max" at the last level; a shed item before its day shows
its name greyed with "Arrives on day N" ("?" plus the day if hidden). The
title counts items at their last level. Every level bought jingles.
- Co-op: the host sends "bought" for any level (no wire change; PROTOCOL
stays 5).
- soak_night.gd buys the lowest next level first across UPGRADE_ORDER.
- Tests: level costs, day gates, stacking, from_day, save/morning/retry/co-op,
an old {"rapid_fire": 1} save as level 1. Existing tests set the day where
they buy stock that now arrives later.
- RULES.md Upgrades: per-level effects and costs, stock schedule.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A planned ground arrival whose type has no free character used to be
skipped (spawn_skipped) and lost. Now it waits and comes in as soon as
one frees, without holding back other types; any still waiting at
sunrise are dropped and counted.
- EnemySystem.can_spawn(type): room and, on foot, a free character
(EnemyCharacters.has_free; a corpse counts), no side effects.
- WaveDirector.step: due arrivals that can't spawn go to a per-type
FIFO; waiting ones are admitted first each tick. waited / dropped
counters next to spawned, reset at nightfall; waiting() for tests.
- GameConfig.character_pool {"thief": 48, "breaker": 20} replaces
EnemyCharacters.POOL; the pools are built from it at setup.
- RULES.md, Night plans: the real limits and the waiting rule.
- test_roster: full thief pool -> the thief waits, crows stay on time,
a freed character (corpse) lets it in, sunrise drops and counts.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>