Commit Graph
40 Commits
Author SHA1 Message Date
Justin Oros 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 Oros 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 Oros 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 Oros b6a7c6b088 Fix player idle sprite to face last walked direction instead of always facing forward 2026-05-21 09:05:38 -07:00
Justin Oros 4f0ea6afe4 Play music-rival.mp3 during battle screen, resume map music on return 2026-05-20 23:48:11 -07:00
Justin Oros 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 Oros 27f5a536e4 Increase tree size range from 28-44px to 48-72px 2026-05-20 22:21:26 -07:00
Justin Oros 5dff27ae12 Move player and NPC higher on screen for better vertical centering 2026-05-20 22:20:29 -07:00
Justin Oros 24968c227a Reduce NPC interaction radius to 100px 2026-05-20 22:17:33 -07:00
Justin Oros 4f2f4697fb Add CONFIG object for easy rebranding between game versions 2026-05-20 22:04:59 -07:00
Justin Oros fcda2d663a Increase tree count to 300 2026-05-20 21:56:53 -07:00
Justin Oros 51890e3055 Reduce NPC interaction radius to 200px 2026-05-20 21:55:05 -07:00
Justin Oros 0750519b72 Fix NPC proximity to measure from player screen position not world origin 2026-05-20 21:52:46 -07:00
Justin Oros 1d212252cd Simplify NPC interaction to 300px radius 2026-05-20 21:49:19 -07:00
Justin Oros a4b357c680 Increase NPC interaction radius to 200px for easier triggering 2026-05-20 21:44:31 -07:00
Justin Oros 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 Oros 7d7603baee Double NPC proximity threshold to 120px for easier interaction 2026-05-20 21:41:08 -07:00
Justin Oros 7db58840f7 Fix NPC proximity check failing when npcWorldX is 0 (up/down directions) 2026-05-20 21:36:18 -07:00
Justin Oros d4fd67ce75 Increase tree count from 60 to 150 2026-05-20 21:35:22 -07:00
Justin Oros 5877210cb4 Replace directed path with free 2D movement, NPC spawns in random direction each leg 2026-05-20 21:32:50 -07:00
Justin Oros 427381aecf Add directional winding path system with canvas-drawn path and per-leg direction changes 2026-05-20 21:21:50 -07:00
Justin Oros ddf0a9cb08 Fix missing trees at game start by generating them after npcWorldX is set 2026-05-20 21:02:42 -07:00
Justin Oros 26e73b1363 Save and restore shuffled question order so continue game resumes correct question 2026-05-20 20:48:19 -07:00
Justin Oros c1d6eab38e Resume AudioContext on visibilitychange to fix SFX loss after backgrounding app 2026-05-20 20:32:14 -07:00
Justin Oros f973b9e79a Fix black diagonal line 2026-05-20 13:12:54 -07:00
Justin Oros 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 Oros a304b97fe8 Fix diagonal corner artifact by stopping arrow animation via inline style when hidden 2026-05-20 12:45:02 -07:00
Justin Oros ac0db62420 Fix diagonal line — arrow animation only runs when visible, hidden by default 2026-05-20 12:31:33 -07:00
Justin Oros 68d6c7d735 Fix syntax error in audio unlock function that broke the game 2026-05-20 11:48:34 -07:00
Justin Oros f7901ad59a Shuffle question order on load so each playthrough is different 2026-05-20 11:46:21 -07:00
Justin Oros b78557dbf2 Sync cursor highlight to hovered answer button on mouseover 2026-05-20 11:43:00 -07:00
Justin Oros c16954c2eb Rename Fundamentals Town to AZ-900 Town 2026-05-20 10:26:42 -07:00
Justin Oros 13d33f4688 Fix CONFIRM button broken due to confirmBtn referenced before declaration 2026-05-20 10:21:26 -07:00
Justin Oros 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 Oros eb95cf0ff0 Fix CONFIRM button not reachable via keyboard or d-pad navigation 2026-05-20 09:55:51 -07:00
Justin Oros c1352c391a Clean up multi-select UI: remove hint text, full-width CONFIRM button 2026-05-20 09:48:14 -07:00
Justin Oros 19c2c14eef Fix player position by removing wrapper div, position bubble independently 2026-05-20 09:42:02 -07:00
Justin Oros aece71a0d4 Show ... chat bubble over player when too far from NPC 2026-05-20 09:33:06 -07:00
Justin Oros 2dde0dfd4f Require NPC proximity to trigger questions, generalize branding for multi-exam support 2026-05-20 09:28:58 -07:00
Justin Oros 61c9bae44f PokéAzure Game - Study for Azure Exams 2026-05-20 09:16:02 -07:00