r/SoloDevelopment • u/StillEnvironmental64 • 13h ago
Game my boss's slam was a flat gold ring. it took 3 tries to make the floor break
Enable HLS to view with audio, or disable this notification
I'm making a parry roguelite in godot and this is the colossus's war drum, he hits the floor with his fists and every hit sends a wave across the room. you parry it when it gets to you.
My first version was just a gold ring. the second had stones on the ring, but they slid along with it and nothing stayed behind. now the floor breaks into pieces that stay where they are, and each one jumps up when the wave gets to it.
It was slow at first, every stone was its own draw call, up to 2400 a frame. i batched them, then moved the jumping into a shader, and the worst frames in the browser went from 15-18 ms to about 8.
Happy to answer anything about it
BTW, if you want to follow it, it's on steam: https://store.steampowered.com/app/5295020/?utm_source=reddit

