็น้ซไธญๆ็ | English Version
An interactive 2D pixel-art portfolio built with Phaser 3. Navigate through a virtual isometric library as a capybara and explore my professional journey โ including projects, skills, and academic milestones.
๐ Live Demo: https://waynepixelportfolio.vercel.app/
- Explorable Pixel World โ Navigate an isometric library map featuring 8 interactive zones. Each room represents a core section of my resume: Profile, Projects, Skills, Achievements, Education & Experience, Certifications, Contact, and a cozy Break Room.
- Bitmap Mask Pathfinding โ Implements a high-precision navigation system where walkable areas are defined by a pixel-level bitmap mask. Powered by an A grid search* algorithm with flood-fill reachability validation, ensuring the character intelligently avoids obstacles.
- Animated Capybara Character โ Features a custom pixel-art capybara with diverse animation states: Walking, Standing (Front/Back), Working, Reading, Brainstorming, Drinking Coffee, and Resting.
- Depth-Sorted Rendering โ Utilizes a layered depth system (Floor โ Actor โ Foreground Occluders) so the character naturally walks behind furniture and objects.
- Bilingual Support โ Seamless, single-click toggle between English and Traditional Chinese for all UI panels.
- Responsive Scaling โ Leveraging Phaser's
Scale.FITto adapt to any screen size while maintaining the 16:9 aspect ratio.
| Layer | Technology |
|---|---|
| Game Engine | Phaser 3.80 |
| Pathfinding | A* Grid Search + Bitmap Walkable Mask |
| Art Assets | Derived from ClawLibrary |
| Typography | VT323 (Google Fonts) |
| Deployment | Vercel |
- Pathfinding Logic: A 2752ร1536 reference mask defines traversable areas via red pixel values (
r > 180). At runtime, the engine samples this mask to generate a 160ร90 navigation grid for the A algorithm*. - Connectivity Validation: A flood-fill algorithm initiates from the spawn point to identify and retain only the connected walkable region, preventing "teleportation" glitches to isolated map areas.
- Route Optimization: Once the A* algorithm finds a raw path, collinear node removal and line-of-sight culling are applied to smooth the trajectory for more natural movement.
- Interactive Orchestration: Eight target nodes are strategically placed. Clicking a menu trigger dispatches the capybara to the corresponding coordinates before triggering the content modal.
PixelPortfolio/
โโโ index.html
โโโ README.md
โโโ assets/
โโโ scene-floor.png
โโโ scene-objects.png
โโโ walkable-mask.png
โโโ actors/
โโโ walk-spritesheet.png
โโโ stand_front-spritesheet.png
โโโ stand_back-spritesheet.png
โโโ work-spritesheet.png
โโโ read-spritesheet.png
โโโ idea-spritesheet.png
โโโ coffee-spritesheet.png
โโโ rest-spritesheet.pngThis is a personal portfolio project. All rights reserved. Art assets are derived from ClawLibrary and are used under its original license terms.
Built with โ and pixels by Wayne Chou