Hello! While working on our next mission, which involves <spoiler>giant laser beams from the sky</spoiler>, I figured that destroyed pieces should leave scorch marks. I whipped up something pretty simple, which nonetheless looks pretty good if I say so myself, so I wanted to share it with you!
Here's the same picture with the grid turned off. You can do that by pressing CTRL+G, by the way!
They stack, so the battlefield will get more and more blackened as the fight goes on.
Of course, big things leave big scorch marks and small ones leave... small ones.
Now, I didn't want all the scorch marks to look the same, but I also didn't want to make lots of different ones myself, so I used a cheap trick: each scorch mark is composed of the same two sprites, but each is rotated and scaled randomly. These are the sprites, and what you get if you combine a bunch in a row:
Looks pretty varied, doesn't it? It's a trick that comes in handy very often: just have a few elements, and combine them with a bit of randomness to obtain lots of variations! We use the exact same approach for the sound effects of our explosions, for example, shifting the pitch up and down to fake having lots of different sounds.
Well, that's all! Still got some testing to do, but they'll probably be in the next build for you to enjoy!
We're Michiel and Willem. Hi!