Weapons: a courtside rack you pick from + pixel-art HUD
Tins now accumulate on a courtside rack (cap 3) instead of replacing each other; a PLAIN slot banks specials for later, and GUN is a charge you pop for an auto-fire burst. Tap the rack or press 1-5 to choose what your serve throws. A fresh delivery auto-equips but never overrides a deliberate PLAIN, and the 1:1 sudden-death duel forces plain balls. HUD gets real art: generated pixel-art weapon icons, an ornate Wimbledon scoreboard PNG backing the live text (no more code-drawn boxes on top), and a bundled Silkscreen pixel font replacing the system serif. Rack tiles get padding, count-over-label alignment, and an infinity marker on the ball. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
1 parent
148da4713c
commit
37e5bfd10f
17 files changed
+155
-68
No files matched your search
@@ -32,10 +32,14 @@ export const G = {
|
||||
aiReactT: 9, // time since the player's last hit; CPU reads the shot after TUNE.aiReaction
|
||||
wasServe: false, // the ball in flight is a serve (first bounce must hit the box)
|
||||
splatT: 0, // time survived in splatter mode — drives the difficulty ramp
|
||||
bombs: 0, // bomb-ball stock; the next serve auto-consumes one (delivery 1 of the ladder)
|
||||
triples: 0, // triple-serve stock — a serve fans into three balls (delivery 2)
|
||||
flames: 0, // flame-ball stock — kills on any touch, full pierce (delivery 3)
|
||||
mgT: 0, // s of machine-gun time left (delivery 4) — auto-fire, no serving
|
||||
// the courtside rack: tins ACCUMULATE (capped at TUNE.wCap), and G.weapon picks which one
|
||||
// the next serve throws. Slot 0 = PLAIN (a normal ball — how you bank your specials).
|
||||
bombs: 0, // bomb-ball stock — a serve blasts an area (rack slot 1)
|
||||
triples: 0, // triple-serve stock — a serve fans into three balls (slot 2)
|
||||
flames: 0, // flame-ball stock — kills on any touch, full pierce (slot 3)
|
||||
guns: 0, // machine-gun charges — committing one starts an mgT burst (slot 4)
|
||||
weapon: 0, // selected rack slot: 0 PLAIN, 1 BOMB, 2 TRIPLE, 3 FIRE, 4 GUN
|
||||
mgT: 0, // s of machine-gun burst left — auto-fire, no serving (spent from G.guns)
|
||||
mgCool: 0, // s until the next pickup-mode pellet
|
||||
deliveries: 0, // tins delivered this run — indexes the weapon ladder
|
||||
tinDue: false, // the rules called for new balls — deliver at the next changeover
|
||||
|
||||
Reference in new issue
Block a user