In my game, I have gems which effectively turn invisible and move off the screen. I would like to make a counter so when the gem is hit is outputs something like
----
Gems: 0
Then when hit
Gems: 1
I don't know what its would be called so I can't find a tutorial on how to do it. Any idea?
----
Gems: 0
Then when hit
Gems: 1
I don't know what its would be called so I can't find a tutorial on how to do it. Any idea?