Score Feedback



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.

--

Play the Game

As always, the game is open source!

You can find it on our Codeberg.

💜 Love open source projects? 

Here are ways you can support us making them!

https://wanderingdoorgames.obviousgain.ca/supportUs

Get Satellite Bash

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.