Commit Graph
46 Commits
Author SHA1 Message Date
justin c45e1e40ef Add NPC Sprites (Created by my amazing daughter) 2026-05-22 01:14:17 -07:00
justin 1e53d2b18d Add NPC Sprites (Created by my amazing daughter) 2026-05-21 15:23:47 -07:00
justin 439451229c Replace NPC emoji with sprite: oak.png 2026-05-21 11:58:42 -07:00
justin 8a67ac4fca Stop all music on result screen 2026-05-21 10:08:58 -07:00
justin 9e2f698616 Advance from result screen on any tap/click anywhere, not just CONTINUE button 2026-05-21 10:08:43 -07:00
justin 2d6b967a29 Fix direction arrow hidden behind controller in portrait mode by offsetting for controller height 2026-05-21 10:05:58 -07:00
justin a9b904bb0b Fix missing direction arrow and disappearing NPC: add npcSpawned flag, show arrow immediately on map load 2026-05-21 09:44:47 -07:00
justin f0ffb0259c Fix right idle frame to -320px so player faces right when stopping after walking right 2026-05-21 09:35:53 -07:00
justin cb1d750f25 Fix A/B overlap in landscape using fixed positioning; fix player idle frame to use lastDir 2026-05-21 09:22:19 -07:00
justin b6a7c6b088 Fix player idle sprite to face last walked direction instead of always facing forward 2026-05-21 09:05:38 -07:00
justin 4f0ea6afe4 Play music-rival.mp3 during battle screen, resume map music on return 2026-05-20 23:48:11 -07:00
justin ffe6b9a522 Add landscape layout with D-pad left panel and A/B right panel flanking the screen 2026-05-20 22:44:04 -07:00
justin 27f5a536e4 Increase tree size range from 28-44px to 48-72px 2026-05-20 22:21:26 -07:00
justin 5dff27ae12 Move player and NPC higher on screen for better vertical centering 2026-05-20 22:20:29 -07:00
justin 24968c227a Reduce NPC interaction radius to 100px 2026-05-20 22:17:33 -07:00
justin 4f2f4697fb Add CONFIG object for easy rebranding between game versions 2026-05-20 22:04:59 -07:00
justin fcda2d663a Increase tree count to 300 2026-05-20 21:56:53 -07:00
justin 51890e3055 Reduce NPC interaction radius to 200px 2026-05-20 21:55:05 -07:00
justin 0750519b72 Fix NPC proximity to measure from player screen position not world origin 2026-05-20 21:52:46 -07:00
justin 1d212252cd Simplify NPC interaction to 300px radius 2026-05-20 21:49:19 -07:00
justin a4b357c680 Increase NPC interaction radius to 200px for easier triggering 2026-05-20 21:44:31 -07:00
justin 63ba5e9fc0 Hide directional arrow when NPC is on screen, show again when next NPC spawns off-screen 2026-05-20 21:41:21 -07:00
justin 7d7603baee Double NPC proximity threshold to 120px for easier interaction 2026-05-20 21:41:08 -07:00
justin 7db58840f7 Fix NPC proximity check failing when npcWorldX is 0 (up/down directions) 2026-05-20 21:36:18 -07:00
justin d4fd67ce75 Increase tree count from 60 to 150 2026-05-20 21:35:22 -07:00
justin 5877210cb4 Replace directed path with free 2D movement, NPC spawns in random direction each leg 2026-05-20 21:32:50 -07:00
justin 427381aecf Add directional winding path system with canvas-drawn path and per-leg direction changes 2026-05-20 21:21:50 -07:00
justin ddf0a9cb08 Fix missing trees at game start by generating them after npcWorldX is set 2026-05-20 21:02:42 -07:00
justin 26e73b1363 Save and restore shuffled question order so continue game resumes correct question 2026-05-20 20:48:19 -07:00
justin c1d6eab38e Resume AudioContext on visibilitychange to fix SFX loss after backgrounding app 2026-05-20 20:32:14 -07:00
justin f973b9e79a Fix black diagonal line 2026-05-20 13:12:54 -07:00
justin a74f2a28a9 Fix diagonal corner artifact — map-talk-hint was animating at 0,0 before JS positioned it 2026-05-20 12:49:33 -07:00
justin a304b97fe8 Fix diagonal corner artifact by stopping arrow animation via inline style when hidden 2026-05-20 12:45:02 -07:00
justin ac0db62420 Fix diagonal line — arrow animation only runs when visible, hidden by default 2026-05-20 12:31:33 -07:00
justin 68d6c7d735 Fix syntax error in audio unlock function that broke the game 2026-05-20 11:48:34 -07:00
justin f7901ad59a Shuffle question order on load so each playthrough is different 2026-05-20 11:46:21 -07:00
justin b78557dbf2 Sync cursor highlight to hovered answer button on mouseover 2026-05-20 11:43:00 -07:00
justin c16954c2eb Rename Fundamentals Town to AZ-900 Town 2026-05-20 10:26:42 -07:00
justin 13d33f4688 Fix CONFIRM button broken due to confirmBtn referenced before declaration 2026-05-20 10:21:26 -07:00
justin 9966dc65e4 Fix CONFIRM button not responding to click or Enter by replacing disabled attribute with CSS class 2026-05-20 10:17:06 -07:00
justin eb95cf0ff0 Fix CONFIRM button not reachable via keyboard or d-pad navigation 2026-05-20 09:55:51 -07:00
justin c1352c391a Clean up multi-select UI: remove hint text, full-width CONFIRM button 2026-05-20 09:48:14 -07:00
justin 19c2c14eef Fix player position by removing wrapper div, position bubble independently 2026-05-20 09:42:02 -07:00
justin aece71a0d4 Show ... chat bubble over player when too far from NPC 2026-05-20 09:33:06 -07:00
justin 2dde0dfd4f Require NPC proximity to trigger questions, generalize branding for multi-exam support 2026-05-20 09:28:58 -07:00
justin 61c9bae44f PokéAzure Game - Study for Azure Exams 2026-05-20 09:16:02 -07:00