Commit Graph

302 Commits (main)
 

Author SHA1 Message Date
name 184a24f425 fix arrow spawning and suppress step labels during calibration
ArrowGame: use ref for onSongEnd to avoid unstable deps causing the
audio effect to re-run and lose songStartRef. Reset arrows, combo,
and spawn index when the game starts. Log audio play failures instead
of swallowing them.

GestureOverlay: only show 'arms-out' label during calibration, not
step labels which are confusing before the game starts.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 19:47:55 -07:00
Ethan f6f56ab487 button sounds 2026-04-11 19:39:06 -07:00
name d2630b1b64 add score pulse and floating delta on each hit
Score text pulses (scale 1.3→1) on each point gain. A +delta floater
appears at a random offset near the score and fades upward over 0.8s.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 19:36:14 -07:00
name 0b134d1dbe show live score with combo-scaled scoring
Display current score in top-left during gameplay. Scoring now uses
combo multiplier: base points (1000 perfect, 500 good) scaled by
1 + min(combo, 30) / 10, giving up to 4x at 30+ combo. Miss resets
combo and awards no points.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 19:35:24 -07:00
name 876d344441 style Finish Early button red in pause menu
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 19:32:39 -07:00
name 705d667949 add Finish Early to pause menu, lowercase framing message
Pause menu now has Continue, Finish Early (goes to end-of-game with
current score), and Main Menu. Framing text uses sentence case.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 19:31:40 -07:00
name bfbd8ffc4d reword framing message to 'I CANNOT SEE YOUR FEET — STEP BACK!'
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 19:30:49 -07:00
name f2ee120d7e make calibration text larger and clearer
Bigger font (44px, weight 900), white with magenta glow. Reword
framing message to 'YOUR WHOLE BODY SHOULD BE VISIBLE ON SCREEN'.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 19:30:10 -07:00
name 088037e334 add pause menu and restyle calibration text
Pause menu with Continue/Main Menu, triggered by Esc key or pause
button in top-right. Game pauses ArrowGame while menu is open.

Restyle calibration status text to sit above the red framing line
using the arcade display font with magenta color and text shadow,
matching the visual style of other screens.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 19:29:37 -07:00
name 6105ce33ca show only toe dots during gameplay, hide full skeleton
Add drawMode option to usePoseLoop. Game page uses 'toes-only' to
show just landmarks 31/32 as bright cyan dots. Debug app keeps the
full skeleton by default.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 19:26:28 -07:00
name 73dfea963c hide perfect/good/miss counters during gameplay
Keep only the combo display in the score HUD.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 19:24:12 -07:00
name 6ae7edeb56 wire real game engine into GamePage
Replace placeholder GamePage with full webcam + pose detection +
ArrowGame. Loads SSC chart for the selected song, runs pose loop
for step detection, tracks judgments in the store, and navigates
to end-of-game when the song finishes.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 19:22:46 -07:00
name e82cc0a016 tune song preview timing: 300ms delay, 1s fade-in
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 19:20:03 -07:00
name eb5fdfa5da preview song audio in song select after 2s delay
After hovering on a song for 2 seconds, fade in playback from 0:30.
When switching songs, fade out the current preview and start the
delay timer for the new one. Cleans up on unmount.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 19:17:09 -07:00
name 70393f00ac add song background image to info bar, improve dot contrast
Layer bg.png behind the color overlay on the song info bar using a
CSS pseudo-element. Also make difficulty dots white/dark like the
song cards for better readability.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 19:15:41 -07:00
name 733e1977c3 pin artist and BPM to bottom of song cards
Anchor artist text just above the BPM row so layout stays stable
regardless of title length. Long artist names get ellipsis truncation.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 19:14:26 -07:00
name 0e5d8e52a0 show song banner image at top of carousel cards
Display bn.png as a header across the top of each song card,
full-bleed into the card padding with object-fit cover.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 19:11:43 -07:00
name 96c5867418 import song artwork from Fraxtil's Beast Beats
Copy bg.png (1280x720 background), bn.png (512x160 banner), and
cdtitle.png (100x50 logo) for all 20 songs. Add bgUrl and bannerUrl
fields to Song type and data so they're available for UI use.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 19:10:05 -07:00
name f76b628ed4 improve difficulty dot contrast on song cards
Use white for filled dots and dark overlay for empty dots instead of
lightened song color, which was hard to distinguish from the card bg.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 19:04:54 -07:00
name 1eb568c38b wire 20 StepMania songs into song picker with real metadata
Unify Song type to include id, chartUrl, audioUrl alongside display
fields. Replace 8 placeholder songs with all 20 real StepMania songs
(artist, BPM, duration from SSC/audio files). Get Lucky is first.
songIndex.ts now re-exports from the canonical song-data source.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 19:02:56 -07:00
name a2695423e6 [auto] import all 20 StepMania songs, add song picker in settings
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 18:27:21 -07:00
name 063ec517f6 [auto] increase arrow size to 100px
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 18:24:22 -07:00
name f76de51dbe [auto] filter simultaneous notes: keep one per timestamp for body detection
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 18:23:44 -07:00
name b522af94da [auto] default to Beginner difficulty
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 18:18:16 -07:00
name ab03388afc [auto] raise settings z-index above calibration overlay
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 18:14:59 -07:00
name 315e9035e3 [auto] move difficulty selector into settings panel
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 18:12:09 -07:00
name 73f6d2f568 [auto] add SSC chart parser, wire Get Lucky with audio and difficulty selector
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 18:10:59 -07:00
name 4a7054f320 [auto] stamp-style judgment text at random positions with rotation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 18:05:28 -07:00
name 13d623dd20 [auto] match score and judgment text colors to glow colors
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 18:04:18 -07:00
name f22de64108 [auto] pulse target arrow on step detection for visual feedback
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 18:03:45 -07:00
name dbc259c3b4 [auto] premature step triggers miss on the next upcoming arrow
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 17:56:20 -07:00
name 3e4ea2846a [auto] add screen glow on judgment: green=perfect, yellow=good, red=miss
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 17:55:29 -07:00
name d2c7d0de02 [auto] punchier arrow colors and stronger glow
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 17:53:43 -07:00
name b56f51fe31 [auto] show detected step direction in bottom-left corner
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 17:53:06 -07:00
name 8710c29a0d [auto] hide overlay and status text once game is ready
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 17:52:12 -07:00
name 1a9729962e [auto] replace canvas red line with HTML div, full width, above overlay
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 17:47:18 -07:00
name 85d5125d1e [auto] make red line thicker with glow, keep overlay text above it
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 17:45:40 -07:00
name 84aa5bbeee [auto] update framing text to reference red line instead of box
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 17:45:05 -07:00
name 96bb75b68f [auto] make calibration status text a full-screen centered overlay
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 17:44:35 -07:00
name 6e9aae6335 [auto] move score to corner, change 'out of bounds' to 'outside the camera view'
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 17:43:29 -07:00
name b18cf3ce16 [auto] center score text and make it much larger
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 17:42:43 -07:00
name c872fe7303 [auto] make arrows fully opaque with dark backing
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 17:42:25 -07:00
name d0cc3d41df [auto] make arrows larger, brighter, slower for better visibility
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 17:41:43 -07:00
name 461a8fa934 [auto] raise default min detection confidence to 0.75
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 17:37:21 -07:00
name b5c1da1073 [auto] add arrow game UI with scrolling arrows, scoring, and step detection integration
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 17:34:22 -07:00
name 6f5d7381b4 [auto] stub out empty AR scene to remove three.js dependency
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 17:28:30 -07:00
name 9390be7f1a [auto] simplify debug page: remove video support, AR settings; default to heavy model
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 17:26:37 -07:00
name 3c9843fd1a Merge branch 'main' of github.com:1102-Anderson-Ethann/Team-Avengers-2026-Hackathon
# Conflicts:
#	package-lock.json
#	package.json
2026-04-11 17:22:37 -07:00
name 748c500f27 [auto] add sources.md with chart file references
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 17:21:57 -07:00
name 9d7b333fe8 merge worktree-ar-ground-threejs: debug app at /debug/, main app at /
- DebugApp.tsx: pose detection + gesture engine (from refactored branch)
- App.tsx: main game app (unchanged from main)
- Routes: /debug/* -> DebugApp, /* -> App

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 17:19:35 -07:00