How to code game score?


Hey, I’m making a game and I need to know how to code a game score, basically when something’s touching something they get one point. How would I code that?


Game starts

  • set [:iphone: variable] to 0

When _ is touching _

  • increase [:iphone:variable] by 1

When 7=7

  • set text [:iphone:variable]


Thank you so much @sophia71205!


The code by @sophia71205 is what you need.