Skip to content

Black Tie: admin preview only - #346

Merged
ngcoding10 merged 47 commits into
mainfrom
claude/blacktie-preview
Nov 27, 2026
Merged

ngcoding10 merged 47 commits into
mainfrom
claude/blacktie-preview

Conversation

@ngcoding10

Copy link
Copy Markdown
Collaborator
  • Adds Black Tie (e63334287a3deaa3/blacktie/), a single-player third-person spy action game, as a preview opened only from the admin page. It gets a new "Black Tie (preview)" button there, next to Midnight Ops and Ironwing.
  • Without the preview flag the page shows "Not available yet" and loads none of the game. I tested this under a non-local hostname: no flag gives "Not available yet", the flag loads the game.
  • No Back Room card, phone row, sitemap entry or What's new entry yet. Labelled no-news, since players can't see it.
  • Other files: a README section, the admin page button, and a ready-made phone thumbnail (m/thumbs/blacktie.jpg, not linked yet).
  • Size: about 9.5 MB of models and code in its own folder. Asset licences are in blacktie/CREDITS.md (MakeHuman CC0, Quaternius CC0, CMU mocap).
  • Risky: never tested on a real graphics card or phone, only headless. The work notes (HANDOFF.md) were removed before merging.
  • Storage: localStorage blacktie:save / blacktie:settings, plus the shared play-time counter. No new Firebase paths.

Generated by Claude Code

…ase 1)

Engine, Amalfi map, characters, player controller, combat, guard AI, alert level,
HUD, missions 1-2 and free roam.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ck Room card, phone row, What's new 1.55

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…and aim pitch; clean piazza and cathedral steps; card picture and phone thumbnail

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…uild scripts; real-material characters in chars.js

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7DcMPKBCEibcucAb2
…rrier) and four summer civilians built from MakeHuman CC0; per-body hip scaling of the clips; old soldier meshes removed

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7DcMPKBCEibcucAb2
… blacktie/); What's new entry moved to news/ (1.55 news.js edits dropped)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7DcMPKBCEibcucAb2
…ame; left hand IK with an elbow pole onto the fore-end (two-handed pistol when aimed); aimed barrels turned onto the aim line at the wrist

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7DcMPKBCEibcucAb2
…truded profiles, turned barrels, optics, rails); jacket tails weighted to the hips

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7DcMPKBCEibcucAb2
…ls, one weapon per slot, walk-over pickup and ammo, E to swap, B (or wheel Drop) to drop; crouch-and-grab; pistol from a shoulder holster, long guns slung on the back; standing holds use their own legs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7DcMPKBCEibcucAb2
…ffsets were wrong); posture correction keeps runs upright; handoff notes

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7DcMPKBCEibcucAb2
…ton; Back Room card, phone row and What's new entry removed until release); merge site main

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7DcMPKBCEibcucAb2
…ed on stairs and slopes (leg IK); brake step; guards use the same reload; notes

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7DcMPKBCEibcucAb2
… bloom; gunshot tails (one echo per burst); burst recoil pattern

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7DcMPKBCEibcucAb2
… kicks, stabs, gun butt), step-in lunge, boxing guard held by IK

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7DcMPKBCEibcucAb2
…der, Marea launch; enter/exit, arcade handling, chase camera, drive-by, engine sound

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7DcMPKBCEibcucAb2
…driver seated with feet on the pedals; cars spawn on the street

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7DcMPKBCEibcucAb2
…pe, foregrip): fitted to the gun in hand, shown on the model, change its numbers, stay with it when dropped

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7DcMPKBCEibcucAb2
…h a searchlight, door gunner bursts with a tell, can be shot down, leaves when the alert drops

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7DcMPKBCEibcucAb2
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7DcMPKBCEibcucAb2
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7DcMPKBCEibcucAb2
…st road with tunnels, lemon terraces, a fjord viaduct and cove, a bowl town with a domed church and beach), shared builders (mapkit.js), town texture array (maptex.js), chunk streaming by distance

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7DcMPKBCEibcucAb2
… sea), Halcyon saloons that pursue along the road and fire, cars take bullet damage; cathedral rosette; cove steps no longer cross the road; guards spawn at street level; place names for the new coast

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7DcMPKBCEibcucAb2
…nger drains the car); handoff notes for the new map and mission 3

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7DcMPKBCEibcucAb2
…ng east

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7DcMPKBCEibcucAb2
…till to pass)

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7DcMPKBCEibcucAb2
…grees stops them); chasers steer by distance along the road, not two points ahead; mission 3 drive test passes end to end

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7DcMPKBCEibcucAb2
…the sea floor); the gun goes away and comes back ashore; breaststroke and treading water; Space climbs out at a quay, F boards a boat alongside

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7DcMPKBCEibcucAb2
… with speed; jumping into a low wall mantles over it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7DcMPKBCEibcucAb2
- Far people are one draw call each, on a single atlas material that
  includes a merged hair shell, so they no longer turn bald at distance.
- Close-up meshes for guards and civilians are decimated to about 18k tris.
- Held guns switch to a single vertex-coloured mesh at LOD 1 and beyond.
- Car parts and pickup models are merged by material (a car drops from 61
  meshes to 20).
- Medium LOD distances are now 10 m and 28 m.

Measured peaks: Low 163 calls / 294k tris, Medium 256 / 606k, High 291 / 873k.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7DcMPKBCEibcucAb2
- Car bodies are now lofted through cross-sections instead of extruded:
  rounded corners seen from above, wheel arches, a tucked sill and
  bulging flank, a cabin that leans in toward the roof, raked nose and
  tail. Faces are sorted into paint, glass and pillars, so the cars have
  a real windscreen, side and rear windows. Behind the glass are a dark
  cabin, seats and a dash. Also new: wheel-well liners, a grille,
  wrap-round tail lamps and bumper bands following the body.
- RP.farMesh (core.js) merges any small model into one vertex-coloured
  mesh. Cars switch to it past 30/50/80 m (Low/Medium/High) and are
  hidden past the draw range.
- Guns now have a box-per-part version for the farthest people, and
  guns slung on the back switch level too.
- Pickups are hidden past 40/70/110 m; guns lying on the ground use the
  far versions.
- Worst views now: Low 92 calls / 264k tris (was 182 / 277k),
  Medium 198 / 526k, High 267 / 715k.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7DcMPKBCEibcucAb2
- New js/traffic.js: bystanders' cars drive both ways along the coast
  road in free roam and the Coast Road mission. They keep right, slow
  for bends, brake and sound the horn for whatever is in the lane, and
  overtake a stopped car. They appear and leave out of sight: 4, 7 or 10
  cars on Low, Medium or High.
- F by a slow traffic car pulls the driver out. The driver runs off
  unhurt, still looking the same, and the car is yours.
- Shooting or ramming a car, or a fight on foot nearby, makes its driver
  stop, get out and run. Traffic never hurts guards or scares people.
- Impacts now pass to the car you hit. The player's car takes half the
  crash damage of other cars, so a chase is survivable.
- driveLine points now carry road height and width. On the viaduct and
  in the tunnels the ground query alone would put a car on the valley
  floor or the hill above.
- Audio: a car horn.

Tested: traffic flow, braking for the player, horn and carjack
(~/rpwork/w/traffic.js). The mission 3 drive test is being re-run with
the autopilot keeping to its lane.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7DcMPKBCEibcucAb2
- A traffic car blocked by anything standing in its lane now backs off
  if touching and passes in the other lane. That includes an abandoned
  or parked car, the player's car nose to nose, or a stopped chaser. A
  queue of moving traffic is still waited out.
- Traffic stays on the 7 m coast road. Two-way cars on the bowl town's
  5.5 m hairpin street jammed with the player and the chasers.
- Lane offsets scale with the road width carried on driveLine points.
- Mission 3 autopilot test passes with traffic: piazzetta in ~50 s with
  ~40 hp left. Smoke test: all four missions, no page errors.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7DcMPKBCEibcucAb2
- Fix a crash: pressing R (melee when there is nothing to reload) twice
  with a gun in hand queued a second strike. That re-entered startMelee
  without the gun flag and looked up the gun's own melee move, which
  guns don't have. The flag now carries over, with a fallback to the gun
  butt for any weapon without a strike.
- Nav: the string-pulling line check now sweeps the walker's width
  (every cell under a 0.7-cell square at quarter-cell steps), so
  shortcuts no longer graze walls the cells only just clear. Edges that
  rise more than 0.3 m next to a building box are walked once with the
  real mover and cached. That catches ledges like the cathedral
  terrace's slab edge on rising ground. Edges are checked in the
  background (1.5 ms a frame) as well as on demand.
  Random-path walk over Amalfi: 1 stuck in 99 (was 17, 10 of them under
  the cathedral steps). Worst first search 81 ms (cached: under 9 ms).
- Crosshair: greys out with a red x when the gun's muzzle can't see the
  point the camera aims at (the shot would hit that obstacle instead).

Thanks to a second test session for the crash and the stuck-corner
report.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7DcMPKBCEibcucAb2
- First person no longer shows the inside of your own head. The sprint
  leans the head past the eye point, and the double-sided character
  materials showed the face from inside. The head bone shrinks to
  nothing in first person (not when scoped, where the body is hidden
  anyway) and is restored in third person.
- In first person, hands that the run or sprint clips pump up to face
  height are kept below the chest by arm IK, so the view stays clear.
  Aiming, fighting and reloading are left alone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7DcMPKBCEibcucAb2
- The terrain's fine-grain term looked the texture up from above only,
  which smeared into streaks down vertical cliffs. It is now triplanar
  like the rest of the rock shading.
- Medium and High add a close-range rock detail octave (60 cm repeat,
  fading out by 30 m) and fine normal detail (fading out by 40 m), so a
  cliff face up close has grit instead of a blur. Low is unchanged
  apart from the streak fix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7DcMPKBCEibcucAb2
- Villa pool:
  - It was a raised slab with an opaque cyan film, with two lemon trees
    standing in it. Now it is a tiled basin 0.65 m deep inside a stone
    rim, with a glassy, see-through surface (RP.Sea.pool) and a paved
    deck over a terrain cut. You can wade in.
  - The lemon trees stand round it. The gate booth moved off the pool's
    corner to just south of the gateway, and a garden patrol waypoint
    moved out of the basin.
- Trees: leaf clumps now have canopy normals (out from the clump's
  centre, used on both sides of each card). A crown shades like a
  rounded mass instead of flat panels, one of which always faced away
  and went black.
- Trees: the leaf card has about four times as many leaves at real leaf
  size, with a ragged edge and the odd glint.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7DcMPKBCEibcucAb2
- The car you drive no longer blocks line of sight. It enclosed the
  driver, so the helicopter's gunner, the chasers and guards never
  "saw" a player at the wheel: a whole autopilot chase drew zero enemy
  shots. It now counts as see-through for sight. Bullets still hit the
  bodywork, and those above the waistline (lower on the open Spider,
  any over the launch's side) reach the driver at 60% damage.
- Helicopter: flies at up to 30 m/s whenever it's more than 30 m from
  its orbit point (it was held to 12 m/s and fell behind a car). The
  orbit point leads a moving target, so it paces you alongside.
- Chasers: fire from 75 m (was 55), slightly shorter gaps between bursts.
- Driver crash damage only for big smashes (over 17 m/s), and less.
- Autopilot chase now: ~60 enemy shots, ~35 on the car, ~80 damage
  through the glass; it still reaches the piazzetta (~47 s).
- Cove boats (K.boat): open wooden interior, two thwarts, a tall bow
  stem post and stern post, and a coloured strake that follows the
  hull. This replaces the flat plank top and a rectangular band that
  stuck out past bow and stern.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7DcMPKBCEibcucAb2
- Character hair was left at roughness 0.5, so dark hair reflected the
  blue sky and came out navy (the texture itself is dark brown). Hair is
  now roughness 0.78 with a weak environment reflection: a soft sheen on
  natural dark hair, for the agent, guards and bystanders.

Measured while checking balance (no change made): standing in the open
at about 20 m, one sentry takes about 18 s to kill a player with
100 health and 50 armour, and three take about 7 s. That is in the
usual range for open-world shooters on Normal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7DcMPKBCEibcucAb2
- Swinging round a corner in cover never happened: the probe for the
  side face started about 1.5 m past the corner with a 1.2 m ray, so it
  never reached the face. It now starts just past the corner, beside
  the side face.
- After a swing the camera turns with you (90 degrees over about a
  third of a second), and for 0.8 s the held stick isn't read as
  "leave cover". Holding one direction carries you round a pillar from
  face to face, as in open-world games. Tested round all four corners
  of the villa's gate booth.
- The gate booth (moved off the pool earlier) had landed on the
  hillside at the compound's south-east corner. It now stands inside
  the gateway on its south side, on level ground, leaving the lane
  past it clear.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7DcMPKBCEibcucAb2
- New tools/chars/webp_glb.py: re-encodes the images inside a .glb as
  WebP (EXT_texture_webp, quality 88, alpha kept for hair) and repacks
  the binary chunk. That includes the regions EXT_meshopt_compression
  points at from its virtual fallback buffer.
- All seven character files converted; geometry and skeletons are
  untouched. three.js's GLTFLoader reads the extension; WebP decodes in
  every supported browser (Safari 14+).
- First download for the game drops from about 16 MB to about 10 MB.
  Checked: all four missions load and run, and the face close-up looks
  the same.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7DcMPKBCEibcucAb2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM83QU3zxfQu1UxFEBM
@netlify

netlify Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for ascoding11 ready!

Name Link
🔨 Latest commit 625c4a1
🔍 Latest deploy log https://app.netlify.com/projects/ascoding11/deploys/6b0961a06037a39e35c96b13
😎 Deploy Preview https://deploy-preview-346--ascoding11.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@ngcoding10
ngcoding10 merged commit e8ee3e1 into main Nov 27, 2026
4 of 7 checks passed
@ngcoding10 ngcoding10 added the no-news label Nov 27, 2026 — with Claude
@netlify

netlify Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for cosmic-dasik-e73c56 ready!

Name Link
🔨 Latest commit 625c4a1
🔍 Latest deploy log https://app.netlify.com/projects/cosmic-dasik-e73c56/deploys/6b0961a05bec9019a18e44eb
😎 Deploy Preview https://deploy-preview-346--cosmic-dasik-e73c56.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants