Inspiration
I love games with fully destructible environments. Since high quality volumetric destruction is usually restricted to heavy desktop applications, I wanted to see if I could bring a destructible voxel world directly into a browser based game without requiring any downloads. Try to play this game in browser: https://sdsds222.itch.io/interstellar-demolition-office
What it does
Interstellar Demolition Office is a space bullet hell shooter with real time destructible terrain. Players blast through mineral voxels to expose hidden enemy turrets. Destroyed terrain drops Gold shards for energy and Crystal shards for health. Defeating surface enemies unlocks the planetary core, which players must infiltrate and destroy to complete the level. Player can also edit and create their own levels by using the built-in level editor.
How we built it
We built this cross platform browser game using the Three.js library. The core destructible terrain is driven by the Marching Cubes algorithm, which dynamically recalculates and updates the 3D mesh in real time exactly where bullets hit.
Challenges we ran into
The main hurdle was running the heavy Marching Cubes algorithm within browser performance limits. I had to carefully balance terrain destruction visuals with frame rate stability. Additionally, optimizing the rendering and physics of massive amounts of debris particles was crucial to prevent severe lag spikes.
Accomplishments that we're proud of
It is kind of hard to create one of the few browser based underground destruction games powered by the Marching Cubes algorithm. Achieving smooth bullet hell gameplay alongside real time terrain deformation in a browser is a massive technical milestone for me.
What we learned
This project drastically deepened my understanding of Three.js and JavaScript performance optimization. I learned how to efficiently manage geometry buffers and strictly control particle generation to prevent memory leaks while balancing complex algorithms with a smooth player experience.
What's next for [Interstellar Demolition Office]
The core gameplay is designed by me and it is sort of creative but it is not enough, thus I might add more creative gameplay to make it more interesting. I would also move the game into another game engines for better game effects.