When I collect a coin, the score counter does not go up. I have tried everything, but it still just wont work. Please help me.
(events)
(picture of game)
When I collect a coin, the score counter does not go up. I have tried everything, but it still just wont work. Please help me.
Instead of changing the text to 1, change the text to the value of the variable coin. Simply, instead of 1, replace it with Tostring(Coins)
1st of all what V9um wrote will solve your issue
2nd thing which confused us all is that there are two different things when comes to engines numbers and text
When you add 1 to 1 as numbers you get 2
When you add 1 to 1 as text you get 11
Cause numbers make actual calculation
Text is like adding lego block to it
And since you add to variable you want to display that variable instead of also adding anything to text you SET it to display your variable you modify
thanks!
(need to make it 20 characters)