Fork of 3D Cube of Spheres
✓ Published0🌍 Public
A 3D recreation of the Sans boss battle from Undertale, built with Three.js and rendered via WebGL. A player-controlled red heart moves within the battle box and dodges white bone projectiles spawned by the floating Sans character. Attack patterns include horizontal, vertical, circular, and random bone spawns, with collision detection reducing HP and triggering invulnerability frames. The code uses Three.js geometries for meshes, input via WASD/arrow keys, and a simple game-state manager for health and game-over logic.
AI-generated descriptionSans Battle
A 3D recreation of the Sans boss battle from Undertale using Three.js.
Controls
- WASD or Arrow Keys: Move the heart (your soul)
- Dodge the incoming bone attacks!
Features
- 3D Sans character with glowing eye
- Battle box arena
- Multiple attack patterns (horizontal, vertical, circular, random)
- HP system with damage and invulnerability frames
- Game over and restart mechanics
Good luck!
MIT Licensed