Posted July 25, 2025 by Wandering Door Games
#Godot
One of the enhancements we thought would be nice to add was having the point values of enemies and obstacles pop up once they're destroyed. Originally you had no idea how many points each entity was worth, unless you wanted to watch the overall score and do some quick math. But nobody wants to do that.
So a little feedback for the player was warranted. Each entity gets its own point value, then on entity destruction, the point value appears and fades away, adding more satisfaction to the destruction. The points also take the colour of the destroyed entity for a little added flair.
We used a Label for the points text and then just added a small script to it to do the colouring, fade out, and label cleanup once its opacity hits 0.
Here's that script:
Then we just instantiate that label at the same position as the debris or enemy's position.
--
As always, the game is open source!
You can find it on our Codeberg.
Here are ways you can support us making them!