Commit Graph

21 Commits

Author SHA1 Message Date
dd0430048b Trailer: HUD takes showed the phone's screen; cut.py renders in parallel
- The trailer, BotCapture and PhoneScreen picked "any" UIDocument; since the phone has
  its own (drawn into its screen in the hand) the first-person takes captured the
  phone's home screen instead of the HUD. They take UIRoot's document now.
- cut.py renders a whole film in GC_CUT_WORKERS processes (20 by default), each a
  stretch of frames as near-lossless x264, joined and encoded once on NVENC with the
  sound. Shake and grain are seeded by frame, so the result does not depend on the
  split. Main trailer 57 -> 13 min.
- polden.py and story.py read the single rolls folder.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 21:46:37 +06:00
d4dff6ea99 Ending: rail camera, stable far planet, green bursts from a US landing
Flights run on rails at even speed along the spline with eased ends and
smooth zoom pushes, no hand-held shake. Grass fur, sector lines and
shadows fade out as the camera climbs, and above 250 m the ground swaps
to an even cube-sphere skin so the relief no longer pops while orbiting.
Per-shot FOV, motion blur, slamming titles and a warp to Earth; the
rocket now lands in Kansas and the green bursts straight out of it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 16:38:46 +03:00
88c1ee9202 Base fixes: climb over the railing, hay on the deck, no yard logs, console back, logo T
- Climbing up from the meadow rises straight up the side until the feet clear the
  railing, goes over it and drops onto the deck, instead of an arc through the fence.
- Props stand their lowest point on the floor (the hay bale was half under the deck).
- The timber bay lines on the unloading yard are gone.
- SM_Terminal: the chalkboard's back stands proud of the frame bars, no more
  flickering where their back faces shared a plane.
- Logo: the scythe standing in for the first T of CUTTERS is now a plain T
  (Tools/ui/logo_t.py copies the second T); menu logo, Steam capsules and the
  demo's capsules rebuilt from it.
- -demofix: close shots of those spots.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 18:08:13 +06:00
3ee5956694 Ending: the Director's call, flyovers into orbit, Earth turning green, credits
When the planet is mown the ending plays by itself: G.R.A.S.S.A. calls, the
camera skims the stubble into the base, circles it and rises without a cut
into orbit over the bald planet (title, the crew's results). Then a jump
across space to a scorched, dried-out Earth: a rocket from Herbaria-7 passes
the lens and lands in Africa, and the green spreads from there over the whole
globe (seed pods, a glowing front, clouds and blue air coming back). The
credits roll over the green Earth (PlayWay credited as publisher), then THE
END and a card to keep mowing, leave a review or go to the menu. Space, Enter
or Esc skips to the green Earth and the card.

- EndingCinematic, EndingEarth (globe, air shell, rocket, seeds), SpaceSky
  (split out of the intro), EarthGlobe/EarthAir shaders and Earth maps in
  Resources/Ending
- the far meadow shows as stubble once the planet is mown
- "all of it" mown now means no sector with grass left (MowMap.Left); mown
  area summed in double
- the crew's total pay and play time are counted and saved for the results
- the "ending" cheat; -ending previews it in a test world; the -ending bot
  shoots every stage
- loc for the new lines in all 11 languages

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 01:52:24 +03:00
52619d8952 Hologram calls, HaulOS phone, Enhanced lighting, smoother camera; Blender remaster review files
Game:
- Assistant and Director portraits: GPT backgrounds and a holographic appear/disappear shader (Talk/TalkHolo) instead of on/off
- Phone redesigned (HaulOS home, address bar, dock, error/loading states) and the browser link made sturdier
- Settings > Graphics > Lighting: Classic / Enhanced (runtime volume, no project assets changed); Enhanced SSAO uses the
  smooth interleaved-gradient method at high samples so flat panels don't speckle
- Painted board textures (T_HullPanel, T_BarnRed) keep only edge wear: the big bare-wood patches read as dirty smudges
- The head leans into a sidestep smoothly instead of snapping with A / D
- New keys in all 11 languages

Review only (nothing swapped into the game yet): ArtSource/Blender/remaster (v1 paint pass of our own models, Synty-built
ones left out), remaster/crew (crew repaint with arm, colour-edge and face fixes), remaster_v2 (smooth-geometry pilot).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 15:28:47 +03:00
ae558b8e77 Demo build: 150 kg goal, end screen, separate AppId and store assets
GC_DEMO define (ProjectBuilder GC_DEMO=1 / -demo) builds GrassCutterDemo.exe
for app 5668050 with its own product name, version 0.1-demo and no
achievements. Purchases lock after shipping 150 kg; a goal label and a
thanks/wishlist card follow. Menu gets a DEMO badge and wishlist button.
Store texts (12 languages) and DEMO-badged capsules for the demo page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 19:07:43 +06:00
ad2154b38c Release checklist: no cheat console for players, Steam required, Steam's language wins when changed, menu links, head bob toggle
- The cheat console opens only in the editor, a development build, or with -gcdev
- Without steam_appid.txt next to the exe, a failed Steam start says so and quits instead of running offline; -nosteam only works in our own builds
- A language picked in the game's Steam properties overrides the one saved in the game, if it changed since
- Main menu: language button, Steam page (overlay, else browser), feedback (Steam discussions); "early build" and the AppID gone from the footer
- Settings > Game: head bob on/off
- The cursor stays inside the window while it's free
- -resetsettings puts every setting back as it comes out of the box

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 18:45:17 +06:00
77f533e390 Phone: YouTube keeps playing, full screen fills the phone, nothing in front of it
- The phone's browser passes as a phone's Chrome all through (client hints, no automation flag): YouTube no longer
  stops a video a couple of minutes in with "something went wrong".
- Full screen is done on the page: the element pinned over the phone's whole page, everything else hidden. The
  windowless browser refused the real thing or shifted it off to one side. Its window now matches the page too.
- With the phone up at your face the tool belt, the tool plate and the hint line step aside.
- Test: -demoyt (-demoytlong for the 200 s run).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 16:38:00 +06:00
ae2bc83c24 Client purchases in the replica test; multipliers keep their small x
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 02:00:34 +06:00
d61167e22b Map sectors show again, clients get their own machines and the train's swath, machines stay out of the ground
- Map: the sectors are wound the screen's way (most were wound the other way and culled, leaving a blank chart),
  kept inside the chart, and drawn as ball, sectors and marks layers; the scale bar is no longer sized mid-draw.
- Players' save keys are replicated, so a client's garage finds its machines and their upgrades; two players under
  one key get separate ones.
- The grass train sends its mowing to the clients; moving the depot or resizing the planet relays its line.
- A hard floor under vehicle springs: hard landings, steep rises and hand-overs no longer sink a machine.
- Tests: -demosink, -demorep host|client.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 01:33:03 +06:00
86c8403c2a Train lines that grow, station yards, a cab to ride, a wagon per upgrade; autopilot unloads where it can
- The grass train lays on to the next station by itself once its newest stretch is mown as far as the cutters reach,
  rounding each station at the edge of its yard, until no station is left within reach; it runs three times as fast
  over the stretches already mown.
- Every station on a line has a yard at the end of the rails: machines (the autopilot too) unload there, the train
  picks it up as it passes and it is paid when the train gets home. With nothing left to cut it carries for the yards.
- E on the locomotive puts you in the cab: W on up the line, S back home, E to get off; it carries on by itself after.
- Three wagons, one more per upgrade (six at Mk IV), 2 t each; the heaps grow as they fill. The upgrade text says so.
- The autopilot only drives to places a machine can unload (garage pads, unload bays, the yard, train yards), not to
  drone pads, binders or catchers, where it used to stop and stand; at a spot that won't take it, it tries the next.
  The HUD unload markers skip those too.
- -demotrain checks the line growing, a yard filling and emptying, the cab ride and six wagons.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 22:31:45 +06:00
e186a7e883 Autopilot steers round what's in its way
A machine on autopilot looks a few metres ahead and swerves to the clearer side of a building, rock, person or
machine, so it goes round things instead of through them; it still touches nothing, so what it can't get round it
passes through, and it can't be wedged or tipped. It rolls over the deck rails. -demoauto counts swerves and hops.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 20:25:01 +06:00
0db89bf7cb Wagons on the rails, buildings on the slope, an autopilot nothing stops
- The train's loco and wagons stand on their front and back axles, so they pitch with the track up and down hills
  instead of standing level and hanging off one end; wheels sit on the rail tops, gauge matched to the models.
- A piece set down on the soil leans with the ground under its footprint (up to 22 degrees) and sinks until no
  corner hangs in the air; foundations stay level.
- On autopilot a machine touches nothing: it rides on the soil and the base deck and drives straight through
  buildings, rocks, rails, people and machines. Wedged anyway, it hops a few metres on; it no longer gives up on
  the way to unload.
- -demoauto puts a building in the way to the yard, sets one down on the steepest clear slope and reports any tip-over.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 19:54:01 +06:00
6b2a9931b9 Upgrade matrix you can read at a glance
- Each tree sits centred under the Earth Uplink; links run square between
  rows and down the gaps between columns, never through a node or a name
- Clear node states: gold is done, a green ring is buyable now, green tint
  is started, grey is not open yet; the selected node has a blue ring
- Every node shows the price of its next level and pips for its levels
- The detail panel lists every level with what it gives and what it costs;
  requirements turn green as they are met
- Tabs show how much of each tree is bought
- -demoshop [slot] shoots every tab

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 13:08:46 +06:00
172c3b978d Smoother drives across the meadow: no more hitches opening sectors
- Sector maps are put away on a worker thread, and trimmed in batches
- A far sector's texture only needs its look; at most four new ones a frame
- Fresh maps fill rows between their borders instead of testing every cell
- Rocks are marked with plain numbers; marks come back on unpacked maps
- Worked-overlay sort uses float keys; idle belts look on staggered steps
- Chase camera cast no longer allocates; perf demo drives and runs too

Drive phase on a late save: p99 33 -> 16 ms, frames over 20 ms 242 -> 7.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 12:59:16 +06:00
29485df9e1 Train and autopilot tried in the game: prefab, wagons upright, no circling
The train piece is in the scene's prefab list, its icon is made, and the
wagons keep the axis turn their FBX root brings. The autopilot gives up on a
point it has circled for seven seconds without getting closer, and takes sharp
turns close by slowly. -demoauto: on the easy planet the tractor unloads and
goes back to mowing, and the train lays 826 m of track to Timothy, closes 532
sectors and earns about 13.7k by the time its reach is mown.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 12:17:41 +06:00
bbf73a6b96 Frame time on a big farm, round two: riding layer, instanced bundles
- Bundles on a belt move to a Riding layer that ignores the belts and the
  static world: every belt's catch trigger called OnTriggerStay (with a
  GetComponent) for each bundle riding it, every physics step.
- Bundles draw as instanced batches from CargoTick (their own renderers off,
  one in someone's hands draws itself), not as 2000 renderers to cull, sort
  and draw in the view and every shadow cascade.
- The main camera skips front-to-back sorting: the GPU has time to spare.
- BeltNet.Belted and DronePad.Belted are cached until the build changes;
  splitters on the host look only at their own items.

On the player's Mommy save, 2560x1440: base 14-15 ms -> 7.7 ms (~130 fps),
meadow 11.5-12 ms -> 6.8-7.5 ms (~135-145 fps).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 20:35:35 +06:00
57d0f4d31a Frame time on a big farm: batched grass, sleeping bundles, no light probes
Measured in a real 2560x1440 window on the player's Mommy save (RTX 4090):
the GPU took ~5 ms, the main thread the rest.

- Grass: a fully mown sector draws only its floor (one draw, not up to six);
  untouched and fully mown sectors share a mow map look, so the fur pile
  draws them all in one instanced call per pile (GC_SECTOR_BUFFER, sector
  frames from a structured buffer). Grass draws 1112 -> 337 at the base,
  876 -> 439 in the meadow.
- Bundles: loose ones sleep when they come to rest (our gravity kept ~600
  bodies awake), ones on belts skip the ground checks, and all of them are
  stepped from one CargoTick instead of two Unity messages each.
- Belts leave a jammed line alone and only look every few steps whether it
  can move; splitters test distance before transforming every bundle.
- Light probes off on everything (the planet has none) and the GPU Resident
  Drawer off: both cost CPU per moving renderer for nothing.
- -demogpu N -onscreen measures frame time with one feature off at a time.

Base view 17-19 ms -> 14-15 ms, meadow 14-16 ms -> 11.5-12 ms.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 20:01:02 +06:00
80271aea72 Fix Sky Mower tumbling and the hitches on a big farm
- Mowbot keeps its heading apart from the drawn pose: a flyer's lean and sway
  were fed back each frame and rolled it over.
- Drone pads looked through every loose bundle, testing every belt end, for
  each idle drone every frame (43 ms on a 1500-bundle farm): distance first,
  and a 1.5 s pause after finding nothing.
- Saves are written, laid out and compressed off the main thread; backups go
  in the same queue (an autosave froze the game ~50 ms every 30 s).
- Robots tick on staggered frames.
- -demoperf N profiles save slot N; -demobots logs the Sky Mower's tilt.

On the player's save: frames over 25 ms went from 144 to 0 in 40 s, worst
frame 74 ms -> 22 ms.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 19:04:36 +06:00
27d075103b Feedback round: bots that keep working, Sky Mower, calmer HUD, faster menus, new map
- Robot docks and drone pads with no belt ship straight to Earth; robots widen
  their rings up to 4x once everything in reach is mown, travel 2.5x faster
  empty, hoppers 60/150 kg. Drone reach 70 m + 25 m per upgrade.
- New Sky Mower: a big mowing drone on a pad, 91 sectors, flies over the grass.
- Cut paint follows the blade as a strip, no disc ahead of the machine.
- Sector toasts aggregate, chimes and till sounds throttled, toasts moved and
  narrowed.
- Menus no longer rebuild on every money change (price tint follows the
  wallet), scroll position kept.
- Map drawn as one mesh, opens near the player, ME / + / - / GLOBE, scale bar.
- Key-art still (x_key) and -shotsize for the store stills; -demobots test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 15:38:37 +06:00
d1c3761e58 Grass Cutters Together: the project as of moon-sweepers f3666f0
A clean start for the shared repository: the Unity project (Assets, Packages, ProjectSettings), ArtSource, Docs and
Tools as they stood at f3666f0 in the old local repository, with its generated prefabs and scene brought up to date.
Images, audio, models and binaries go through Git LFS (.gitattributes).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 18:44:40 +06:00