Hey BabylonJS community! ![]()
Just finished my first complete game using BabylonJS and wanted to share it with you all!
You can check it here.
Game Overview:
“Fire Escape” is a narrative-driven 3D game where players decode riddles to locate and extinguish fires across a city. An arsonist is sending
encrypted messages, and you’re the only one who can stop them.
Technical Details:
Core Stack:
- BabylonJS 8.3.2
- Havok Physics 1.3.10
- TypeScript
- Astro 5.14 (framework)
Key Implementation Features:
- Quest System - Dynamic riddle-based objectives with real-time distance tracking
- Responsive Controls - WASD for desktop, virtual joystick for mobile
- Camera System - Custom third-person camera with smooth mouse/touch drag
- Mobile Optimization - Fully responsive UI (text scales from mobile to 4K)
- Audio Manager - Ambient sounds, phone rings, button clicks using Tone.js
- i18n System - JSON-based translation loader (easy to add languages)
Interesting Challenges:
• Compass system - Real-time compass needle rotation synced with camera Y-axis rotation
• Phone call mechanics - Cinematic modal with caller info that pauses gameplay
• HUD design - Created a modern game HUD with distance/time tracking that doesn’t obscure gameplay
Performance:
Runs smoothly on mobile devices. Used Babylon’s optimization features and kept poly counts reasonable for web.
Would love feedback!
Thanks to the BabylonJS team for this amazing engine! ![]()