justin
|
e30b4810d5
|
Add NPC Sprites (Created by my amazing daughter)
|
2026-05-22 01:15:25 -07:00 |
|
justin
|
74bc7e1aa8
|
Add NPC Sprites (Created by my amazing daughter)
|
2026-05-21 14:34:54 -07:00 |
|
justin
|
79521db109
|
Replace NPC emoji with sprite: oak.png
|
2026-05-21 12:07:29 -07:00 |
|
justin
|
c8ce96d0c0
|
Update to new mo betta code base
|
2026-05-21 11:09:30 -07:00 |
|
justin
|
ef374b0378
|
Move _generateTrees() to after npcWorldX is set so trees span the full path
|
2026-05-20 21:05:45 -07:00 |
|
justin
|
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
|
f5c3cb9145
|
Resume AudioContext on visibilitychange to fix SFX on mobile after tab switch
|
2026-05-20 20:36:39 -07:00 |
|
justin
|
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
|
09e38bb465
|
Mouse hover sets answer cursor via mouseenter + _renderCursor, matching pokeazure approach
|
2026-05-20 12:05:10 -07:00 |
|
justin
|
eff440d1f2
|
Shuffle question order on each new game so every run is different
|
2026-05-20 11:59:12 -07:00 |
|
justin
|
697a303a75
|
Add '...' chat bubble above player when pressing talk before reaching NPC
|
2026-05-20 10:08:10 -07:00 |
|
justin
|
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
|
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
|
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
|
264988d7b6
|
Fix gamepad A and B buttons to confirm highlighted answer on battle screen
|
2026-05-14 15:25:24 -07:00 |
|
justin
|
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
|
0ac24d776e
|
Fix gamepad letter selection on name screen — dispatch pointerdown instead of click
|
2026-05-14 15:14:15 -07:00 |
|
justin
|
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
|
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
|
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
|
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
|
b0768841f1
|
Fix sprite directions — swap Up and Left frame offsets to match actual sheet layout
|
2026-05-14 13:51:56 -07:00 |
|
justin
|
478944b8b6
|
Lower player and NPC to centre of dirt path
|
2026-05-14 13:45:00 -07:00 |
|
justin
|
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
|
72ecda8d46
|
Lower direction arrow to match player height on the path
|
2026-05-14 13:07:55 -07:00 |
|
justin
|
25204998db
|
Fix music.mp3 not playing — add preload, canplaythrough retry, unblock on first user interaction
|
2026-05-14 13:04:44 -07:00 |
|
justin
|
8d5a4d2c0e
|
Add music.mp3 looping BGM on map, pause during questions, 🎵/🔇 mute toggle in header
|
2026-05-14 12:59:55 -07:00 |
|
justin
|
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
|
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
|
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
|
3ba8f0e437
|
Add Enter/Space key support on Continue screen
|
2026-05-14 11:03:48 -07:00 |
|
justin
|
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
|
43f7e6ef1c
|
Reduce answer result delay from 850ms to 120ms for near-instant feedback
|
2026-05-14 10:59:19 -07:00 |
|
justin
|
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
|
2efb7ffeeb
|
Replace pine trees with round trees only, reduce to 35 for better spacing
|
2026-05-14 10:53:49 -07:00 |
|
justin
|
f17d3f6a76
|
Generate 60 randomly placed trees across full scrollable world, varying size and sway speed
|
2026-05-14 10:51:01 -07:00 |
|
justin
|
e354ddc224
|
Move direction arrow inside game on right edge, always points right toward NPC
|
2026-05-14 10:47:27 -07:00 |
|
justin
|
9802427340
|
Centre player and NPC vertically on dirt path
|
2026-05-14 10:44:57 -07:00 |
|
justin
|
fd770c973c
|
Nudge player and NPC up to sit visibly on the dirt path
|
2026-05-14 10:43:41 -07:00 |
|
justin
|
34a9bae50c
|
Fix NPC rendering on top of path — move NPC to viewport layer, convert world-px to screen-px each tick
|
2026-05-14 10:42:10 -07:00 |
|
justin
|
b81958a56d
|
Fix player and NPC vertical position to sit on the dirt path instead of the grass
|
2026-05-14 10:39:02 -07:00 |
|
justin
|
2213a85ff8
|
Fix path disappearing by moving map-ground outside scrolling world, reduce speed to 8px per tick
|
2026-05-14 10:35:13 -07:00 |
|
justin
|
255c7aae6c
|
Tune player speed to 12px per tick
|
2026-05-14 10:32:59 -07:00 |
|
justin
|
c267845664
|
Tune player speed to 20px per tick
|
2026-05-14 10:31:12 -07:00 |
|
justin
|
dbfef52733
|
Fix NPC proximity threshold and walk clamp so player can reach and trigger NPC interaction
|
2026-05-14 10:30:10 -07:00 |
|
justin
|
634436f8d2
|
Fix player walk clamp — use NPC position as right boundary so player can always reach next NPC
|
2026-05-14 10:27:31 -07:00 |
|
justin
|
94791feb3e
|
Fix mobile walk speed — reduce tick interval from 80ms to 30ms for smoother movement
|
2026-05-14 10:24:38 -07:00 |
|
justin
|
416c123d20
|
Increase player walk speed from 40 to 80px per tick
|
2026-05-14 10:22:59 -07:00 |
|
justin
|
aa4c5b6d26
|
Increase player walk speed from 20 to 40px per tick
|
2026-05-14 10:21:58 -07:00 |
|
justin
|
51f9c08509
|
Increase player walk speed from 10 to 20px per tick
|
2026-05-14 10:21:12 -07:00 |
|