Skip to content

feat(systems): each main gun fires its own kind of shot, and swapping has its own sound - #41

Merged
vriesd merged 3 commits into
mainfrom
feat/gun-identity
Nov 13, 2026
Merged

vriesd merged 3 commits into
mainfrom
feat/gun-identity

Conversation

@vriesd

@vriesd vriesd commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

All four guns fired the same cyan bolt, so after swapping the only cue was a one-second name flash, and the swap played the generic menu confirm sound.

  • Each gun has its own shot: Lance fires a long white-hot needle, Scatter short round pellets, Seekers arrowhead darts. The standard gun keeps today's bolt, pixel for pixel. All stay in the cyan-white family and never use a ring, so they cannot be mistaken for enemy fire.
  • The swap has its own sound: a short, quiet click-and-whir in place of the menu chime.
  • Nothing about play changes: hitboxes, damage, speed and firing patterns are untouched. Wingman and helper-wing shots keep the bolt.

The four looks are frames of the one player-bullet texture, still painted once before the sector starts, so shots stay in one batch and nothing is built mid-fight. The look lives in the gun profile next to its firing pattern.

Proof: typecheck, lint, format, knip, unit tests and build pass; shipSystems, firstShot, renderBudget and autoFire pass on desktop and mobile (23 passed, 2 skipped by design), including a check that shots carry the new gun's look after a swap. I looked at screenshots of each gun firing on desktop and phone, and of Lance with enemy fire on screen. Nobody has listened to the new sound; it passes the recipe tests for level and clipping.

Reviewed with sol-loop: 2 rounds with gpt-6.1-sol. Sol verdict: approved

Created with Claude Fable 5.2 in Claude Code (orchestration, review fixes); implementation by Claude Opus 5.5.

🤖 Generated with Claude Code

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-13T17:15:54.132451Z e65ec73 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

vriesdcrv and others added 3 commits November 13, 2026 18:19
Swapping guns mid-fight played the menu confirm chime, which sounds like a UI action rather than the
ship changing weapons. A short mechanical cue (unlatch tick, rising whir, lock-in tick) tells the
player the swap went through without masking gameplay sounds; it is quieter than the chime it
replaces. It shows up in the soundboard with the other recipes. The refused-swap click is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
After a swap the only cue was a one-second name flash, because Lance, Scatter and Seekers all fired
the standard bolt. Now the fire itself says which gun is active and what it does: Lance shoots long
white-hot needles, Scatter short round pellets, Seekers arrowhead darts. They stay in the player's
cyan-white family with no ring or dark band, so they never read as enemy fire. The standard gun,
the Wingman drone and the helper wing keep today's bolt.

The look is part of each gun profile. All looks are same-sized frames of the one `player-bullet`
texture, painted once when the pool is created, so a shot only switches frame when fired: no
texture work mid-fight, no extra draw calls, and the 8x18 hitbox, damage and speed are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…t a per-shot array

The bolt's halo was cut off by its old 14x30 canvas; in the taller
frame it showed a sliver above. It is clipped to the old box again.
The first-shot test counts every paint of the strip again.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@vriesd
vriesd merged commit b2a3de6 into main Nov 13, 2026
10 checks passed
@vriesd
vriesd deleted the feat/gun-identity branch November 13, 2026 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants