So, I want the game to keep track of the coins you collect, but I have no idea how to do that. How do I do that?
4 Likes
You could use the arcade-text extension then just make it display a variable which holds how much coin you have.
1 Like
Every time you gain a coin just update a fancy text sprite/textsprite
Like… are you looking to create a variable, increment it, and use a Text Sprite to display the coin count? If so, i believe there is an extension called Arcade Text. I think it’s on the built-in extension list.
Awesome game, btw!!! ^w^
1 Like
what you could probably do is set up a text sprite (there’s an extension that allows that) and constantly set its text to the amount of coins you have.