Commit Graph
99 Commits
Author SHA1 Message Date
Justin Oros bd1c6c23c0 Add NPC sprite: gary.png 2026-05-21 14:20:45 -07:00
Justin Oros 439451229c Replace NPC emoji with sprite: oak.png 2026-05-21 11:58:42 -07:00
Justin Oros d6bef7ad36 Add NPC sprite: oak.png 2026-05-21 11:57:47 -07:00
Justin Oros 8a67ac4fca Stop all music on result screen 2026-05-21 10:08:58 -07:00
Justin Oros 9e2f698616 Advance from result screen on any tap/click anywhere, not just CONTINUE button 2026-05-21 10:08:43 -07:00
Justin Oros 2d6b967a29 Fix direction arrow hidden behind controller in portrait mode by offsetting for controller height 2026-05-21 10:05:58 -07:00
Justin Oros c4d83779df Remove tree sway animation; add float animation to map NPC instead 2026-05-21 09:46:06 -07:00
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 f0cd5bb292 Ensure game.js and style.css pushed together for idle frame fix 2026-05-21 09:40:22 -07:00
Justin Oros fe83283e3b Raise Press E hint z-index above player sprite 2026-05-21 09:39:05 -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 37a8fa2755 Fix A/B button spacing in landscape by restoring constrained ab-cluster size 2026-05-21 09:30:25 -07:00
Justin Oros 2fba2b156d Fix player always facing forward by removing background-position override from base CSS 2026-05-21 09:29:49 -07:00
Justin Oros a5d81d8896 Bring A/B buttons closer together in landscape to match portrait spacing 2026-05-21 09:27:53 -07:00
Justin Oros bac8238409 Fix player always facing forward on stop; center A/B vertically in landscape 2026-05-21 09:25:28 -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 b7cb41687b Expand ab-cluster to fill panel height in landscape for maximum A/B separation 2026-05-21 09:19:38 -07:00
Justin Oros d686a3e553 Move A/B buttons to extreme corners in landscape mode 2026-05-21 09:16:41 -07:00
Justin Oros 83624e6cc2 Center SELECT/START in portrait; widen landscape right panel for A/B spacing 2026-05-21 09:09:30 -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 1b25c2f92b Push A/B buttons to corners in landscape mode 2026-05-21 09:02:16 -07:00
Justin Oros 47152c4757 Increase A/B button spacing in landscape mode 2026-05-21 08:59:21 -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 05b125b6aa Relocate A/B button positions in portrait layout 2026-05-20 23:39:21 -07:00
Justin Oros 4dd3bdb924 Relocate A/B button positions in portrait layout 2026-05-20 23:35:07 -07:00
Justin Oros d1600f29cf Relocate A/B button positions in portrait layout 2026-05-20 23:30:29 -07:00
Justin Oros 06b110d33a Relocate A/B button positions in portrait layout 2026-05-20 23:26:33 -07:00
Justin Oros 91c0cdbf1b Relocate A/B button positions in portrait layout 2026-05-20 23:23:34 -07:00
Justin Oros c3b943d8df Relocate A/B button positions in portrait layout 2026-05-20 23:20:22 -07:00
Justin Oros 7beeb39834 Relocate A/B button positions in portrait layout 2026-05-20 23:18:44 -07:00
Justin Oros 77a1e70e9b Relocate A/B button positions in portrait layout 2026-05-20 23:14:36 -07:00
Justin Oros 54e4492b60 Horizontal Mobile: Relocate A/B positions on portrait layout 2026-05-20 23:04:45 -07:00
Justin Oros c941d4d3a3 Center SELECT/START in portrait panel; match landscape A/B positions to portrait layout 2026-05-20 23:01:19 -07:00
Justin Oros ad939f6c31 Center SELECT/START in portrait with more spacing from d-pad; spread A/B further apart in landscape 2026-05-20 22:57:31 -07:00
Justin Oros 03770fef20 Fix A/B buttons overlapping in landscape by positioning them side by side 2026-05-20 22:50:48 -07:00
Justin Oros 18c94b4668 Fix landscape layout: panels inside #app flex row so screen is centered between them 2026-05-20 22:50:33 -07:00
Justin Oros 2808232a44 Fix landscape layout: panels inside #app flex row so screen is centered between them 2026-05-20 22:48:20 -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 26dbe3f8a9 Replace footer text with github.com/JustinOros 2026-05-20 22:32:35 -07:00
Justin Oros 98719b483a Change title screen CTA to PRESS START 2026-05-20 22:29:48 -07:00
Justin Oros 5a2cbbbff8 Sync POKÉ and AZURE glow animations by removing animation-delay 2026-05-20 22:27:45 -07:00
Justin Oros f21d6fc6eb Reduce title font size so POKÉAZURE fits on one line 2026-05-20 22:26:43 -07:00
Justin Oros 390476d4e8 Center progress bar in map header using three-column flex layout 2026-05-20 22:24:53 -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 1975a5af99 Fix trees rendering below player by raising map-inner z-index above player 2026-05-20 22:18:31 -07:00
Justin Oros 24968c227a Reduce NPC interaction radius to 100px 2026-05-20 22:17:33 -07:00
Justin Oros b43b116f45 Match result screen background color to battle screen dark navy 2026-05-20 22:14:39 -07:00
Justin Oros 91c21771a9 Trees render above player so player walks behind them 2026-05-20 22:11:06 -07:00
Justin Oros 483a4030a2 Change result screen background from black to grass green 2026-05-20 22:09:20 -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 446d56bf38 Update questions.json 2026-05-20 20:55:37 -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 4a825ef172 Replace hat emoji on badge screen with actual player sprite 2026-05-20 20:39:46 -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 18809b6b86 Update favicon 2026-05-20 13:28:02 -07:00
Justin Oros e5d84d46ed Add favicon link tag 2026-05-20 13:25:35 -07:00
Justin Oros f6f298b2fe Add mobile-web-app-capable meta tag 2026-05-20 13:20:40 -07:00
Justin Oros 6f5215af85 Add favicon 2026-05-20 13:19:46 -07:00
Justin Oros 2be0db7daf Fix player rendering behind NPC by increasing z-index above NPC wrap 2026-05-20 13:17:53 -07:00
Justin Oros c8b6d6c088 Increaze player z-index 2026-05-20 13:15:44 -07:00
Justin Oros f973b9e79a Fix black diagonal line 2026-05-20 13:12:54 -07:00
Justin Oros e134334475 Fix black diagonal line — remove stray backslash from HTML comment 2026-05-20 13:09:29 -07:00
Justin Oros 8a3a8fec9f Fix corner artifact by offsetting overworld grid lines away from 0,0 2026-05-20 13:07:56 -07:00
Justin Oros 389de99a2f Fix diagonal line by removing border-radius from scanline overlay 2026-05-20 13:05:42 -07:00
Justin Oros 39a8b0b980 Fix black diagonal line — sync player-bubble CSS exactly to SQL game including ::after tail 2026-05-20 13:01:13 -07:00
Justin Oros f40fe9daec Fix black diagonal line — player drop-shadow rendering at 0,0 before JS positions it 2026-05-20 12:54:04 -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 aed9b88315 Fix diagonal corner artifact by adding border-radius to scanline overlay 2026-05-20 12:27:29 -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 1498bc261c Player chat bubble now starts at left: -9999px 2026-05-20 10:33:59 -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 c99fedb812 Make selected answer state more visible with larger checkmark and stronger highlight 2026-05-20 09:54:20 -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 4d56d01c53 Fix player position regression caused by bubble wrapper adding height 2026-05-20 09:38:46 -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 8f9050bec0 Update README.md 2026-05-20 09:17:10 -07:00
Justin Oros 61c9bae44f PokéAzure Game - Study for Azure Exams 2026-05-20 09:16:02 -07:00