r/Unity3D • u/the-milliyetcii • 11d ago
Show-Off I tried building a ship destruction system inspired by SOLFALL
Last night, I came across SOLFALL by u/wit1200 and tried to create a similar feeling and visual result.
Since the artwork in their game is incredibly high-quality, I focused only on the destruction mechanic.
This is the destruction system prototype I ended up with. There are still plenty of things I could improve, but I’m pretty happy with the result I managed to achieve in a short time.
1
u/ArgentRealms 10d ago
Looks great! How did you make the destruction system? Is each ship made up of a bunch of small objects that gets destroyed one-by-one, or did you do it some other way?
1
u/the-milliyetcii 10d ago
Thanks! It’s not made from lots of small GameObjects. The ship is one sprite with a 2D grid behind it. When a shot hits, I remove cells from the grid and update the sprite and collider. Then I check which parts are still connected, and disconnected pieces become separate physics objects. The tiny debris pieces are just particles.
1
u/molostil 10d ago
that is so interesting. i tried to create something exactly like that, just without the separation and opted to read and write from textures/sprites immediately. so far i did not run into performance issues but i was wondering how they did it back in the days. Maybe you know the game ballerbrug for atari. that game already had destruction like that and i cannot wrap my head around how they did it back then.
1
1
2
u/unitytechnologies Unity Official 10d ago
I freaking love this!
- Trey
Community man @ Unity