Commit Graph
76 Commits
Author SHA1 Message Date
Justin Oros c8ce96d0c0 Update to new mo betta code base 2026-05-21 11:09:30 -07:00
Justin Oros fe91155ed6 Add music-rival.mp3 2026-05-21 11:09:16 -07:00
Justin Oros ef374b0378 Move _generateTrees() to after npcWorldX is set so trees span the full path 2026-05-20 21:05:45 -07:00
Justin Oros 450eccc89e Save and restore shuffled question order so continuing a game picks up at the correct question 2026-05-20 20:49:35 -07:00
Justin Oros 0db0049caa Replace hat emoji on level-up screen with player.png sprite sheet 2026-05-20 20:42:25 -07:00
Justin Oros f5c3cb9145 Resume AudioContext on visibilitychange to fix SFX on mobile after tab switch 2026-05-20 20:36:39 -07:00
Justin Oros c2583cd36d Remove save disk icon from map header 2026-05-20 13:42:49 -07:00
Justin Oros 02efbfe37a Fix player rendering behind NPC by increasing z-index above NPC wrap 2026-05-20 13:39:44 -07:00
Justin Oros 816d33e8f7 Add favicon.ico link tag 2026-05-20 13:34:54 -07:00
Justin Oros d10ce1cc82 Add favicon 2026-05-20 13:29:17 -07:00
Justin Oros b314882018 Fix diagonal line in top-left — arrow animation now only runs when visible, hidden by default 2026-05-20 12:16:42 -07:00
Justin Oros a3dfc5f822 style.css: increase player z-index to display player on top of NPCs 2026-05-20 12:11:32 -07:00
Justin Oros 09e38bb465 Mouse hover sets answer cursor via mouseenter + _renderCursor, matching pokeazure approach 2026-05-20 12:05:10 -07:00
Justin Oros eff440d1f2 Shuffle question order on each new game so every run is different 2026-05-20 11:59:12 -07:00
Justin Oros 4c0034a37a Increase Players z-index 2026-05-20 10:12:38 -07:00
Justin Oros 697a303a75 Add '...' chat bubble above player when pressing talk before reaching NPC 2026-05-20 10:08:10 -07:00
Justin Oros f0585c30c3 Fix letter replacement regex — only rewrite 'Both X and Y' patterns, not standalone letters in answer text 2026-05-14 16:12:15 -07:00
Justin Oros 9676257668 Fix 'Both A and B' answer text — rewrite letter refs to actual shuffled slot numbers at render time 2026-05-14 16:00:12 -07:00
Justin Oros be25a43df0 Gamepad D-pad navigates Continue/New Game on continue screen with gold highlight, A confirms 2026-05-14 15:45:37 -07:00
Justin Oros 264988d7b6 Fix gamepad A and B buttons to confirm highlighted answer on battle screen 2026-05-14 15:25:24 -07:00
Justin Oros 867d35fb57 Add DEL and OK to gamepad keyboard nav — D-pad flows from letters down to DEL/OK, A activates either 2026-05-14 15:19:34 -07:00
Justin Oros 1a0d41213d Update README.md 2026-05-14 15:19:02 -07:00
Justin Oros 0ac24d776e Fix gamepad letter selection on name screen — dispatch pointerdown instead of click 2026-05-14 15:14:15 -07:00
Justin Oros 627664594b Gamepad: D-pad navigates name keyboard with gold highlight, A selects letter, B deletes, Start confirms 2026-05-14 15:11:21 -07:00
Justin Oros 1723129c24 Fix gamepad on title/continue screens — poll from startup, handle A/Start on all screens 2026-05-14 15:07:19 -07:00
Justin Oros 10c4147483 Add Xbox/gamepad support via Gamepad API — left stick and D-pad to walk, A to confirm/talk, B to advance 2026-05-14 15:04:10 -07:00
Justin Oros 22b0dc0713 Generate trees per map leg — clear and regrow on each question, pre-generate next leg during result screen 2026-05-14 14:53:05 -07:00
Justin Oros 39db8a2d73 Raised player z-index to be on top of NPCs 2026-05-14 13:56:20 -07:00
Justin Oros b0768841f1 Fix sprite directions — swap Up and Left frame offsets to match actual sheet layout 2026-05-14 13:51:56 -07:00
Justin Oros 478944b8b6 Lower player and NPC to centre of dirt path 2026-05-14 13:45:00 -07:00
Justin Oros 28068c7aa8 Replace hat emoji on battle screen with player.png sprite sheet 2026-05-14 13:40:39 -07:00
Justin Oros 7bbff6fa6a Replace hat emoji on intro screen with player.png sprite sheet 2026-05-14 13:26:34 -07:00
Justin Oros 0e36e07ea8 player.png: Remove background color from sprite 2026-05-14 13:22:12 -07:00
Justin Oros 428f1a2f74 Replace hat emoji with player.png sprite sheet — directional walk animations from 24-frame sheet 2026-05-14 13:16:21 -07:00
Justin Oros 72ecda8d46 Lower direction arrow to match player height on the path 2026-05-14 13:07:55 -07:00
Justin Oros 25204998db Fix music.mp3 not playing — add preload, canplaythrough retry, unblock on first user interaction 2026-05-14 13:04:44 -07:00
Justin Oros b03bd6fb27 Add background music 2026-05-14 13:01:31 -07:00
Justin Oros 8d5a4d2c0e Add music.mp3 looping BGM on map, pause during questions, 🎵/🔇 mute toggle in header 2026-05-14 12:59:55 -07:00
Justin Oros 457b1c3280 Revert "Add looping chiptune BGM — cheerful overworld track and tense battle track, phrase-based seamless loop"
This reverts commit 48a35d381b.
2026-05-14 11:33:16 -07:00
Justin Oros 48a35d381b Add looping chiptune BGM — cheerful overworld track and tense battle track, phrase-based seamless loop 2026-05-14 11:27:18 -07:00
Justin Oros 1b62cbbc14 Add Web Audio chiptune sound engine — boot jingle, overworld melody, typewriter blips, correct/wrong/streak/levelup/complete fanfares 2026-05-14 11:19:16 -07:00
Justin Oros 6d71f9ee8b Remove decorative emojis from title screen 2026-05-14 11:16:02 -07:00
Justin Oros ea341bf225 Fix intro tap hint to show Press E on PC and Press A on mobile 2026-05-14 11:14:24 -07:00
Justin Oros 35cf779e4f Disable touch selection and tap highlight on D-pad and all game elements 2026-05-14 11:13:56 -07:00
Justin Oros 036664a68e Add blue shimmer glow animation to SQL in title logo, offset 0.4s from POKÉ 2026-05-14 11:10:19 -07:00
Justin Oros 3ba8f0e437 Add Enter/Space key support on Continue screen 2026-05-14 11:03:48 -07:00
Justin Oros bb5c1a7316 Reduce NPC proximity threshold from 120 to 60px so Press E shows only when truly close 2026-05-14 11:02:06 -07:00
Justin Oros 43f7e6ef1c Reduce answer result delay from 850ms to 120ms for near-instant feedback 2026-05-14 10:59:19 -07:00
Justin Oros 1649b85934 Fix trees disappearing — extend world to 100x screen width, generate 200 trees across full journey 2026-05-14 10:57:24 -07:00
Justin Oros 2efb7ffeeb Replace pine trees with round trees only, reduce to 35 for better spacing 2026-05-14 10:53:49 -07:00