Commit Graph
50 Commits
Author SHA1 Message Date
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 39db8a2d73 Raised player z-index to be on top of NPCs 2026-05-14 13:56:20 -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 28068c7aa8 Replace hat emoji on battle screen with player.png sprite sheet 2026-05-14 13:40:39 -07:00
justin 7bbff6fa6a Replace hat emoji on intro screen with player.png sprite sheet 2026-05-14 13:26:34 -07:00
justin 0e36e07ea8 player.png: Remove background color from sprite 2026-05-14 13:22:12 -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 b03bd6fb27 Add background music 2026-05-14 13:01:31 -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 6d71f9ee8b Remove decorative emojis from title screen 2026-05-14 11:16:02 -07:00
justin 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 35cf779e4f Disable touch selection and tap highlight on D-pad and all game elements 2026-05-14 11:13:56 -07:00
justin 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 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
justin 4566f54449 Increase player walk speed from 4 to 10px per tick 2026-05-14 10:20:02 -07:00
justin bea5db77ca Increase NPC spawn distance to force longer walk between questions 2026-05-14 10:18:20 -07:00
justin b6efeaae4d Scrolling camera map — world pans as player walks, NPC spawns off-screen right forcing real movement between questions 2026-05-14 10:14:55 -07:00
justin ea2a153256 Move player to old NPC position after each question, spawn new NPC ahead on path for each question 2026-05-14 10:08:17 -07:00
justin d058b088aa Fix Press E vs Press A hint per device, narrow dirt path with grass above and below 2026-05-14 10:04:16 -07:00
justin d49ead84c8 Fix player hat facing direction on walk and preserve facing after key release 2026-05-14 09:58:00 -07:00
justin deb0dcba92 Add directional arrow hint on map, green grass path border, SELECT/START side by side with larger tap targets 2026-05-14 09:53:04 -07:00
justin 9f7a449e3d Fix answer clicks broken by missing q param in pick(), fix fetch path for GitHub Pages 2026-05-14 09:45:23 -07:00
justin a8c82a19b6 Fix copyright year to 2026 2026-05-14 09:40:12 -07:00
justin d334f31b02 Add GBA controller overlay, walking player, D-pad movement, shuffle answers, 1-4 labels, A/B talk to NPC, E key, localStorage save/resume, continue screen, mobile-first responsive, PokéSQL rebrand 2026-05-14 09:38:44 -07:00
justin 30f76c4479 Initial commit — PokéSQL Game 2026-05-13 16:47:35 -07:00