Skip to main content
100%

Fork of 3D Cube of Spheres

✓ Published0🌍 Public
Ppreeta437@gmail.com
Last edited Dec 8, 2025
Created on Dec 8, 2025
Forked from 3D Cube of Spheres

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 description

Sans 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

Similar vizzes