I have a small problem. I want to generate an object every time my score is 10, 20, 30 etc.....So when score is a certain number I want to make an action.
Any idea how should I write this in event sheet?
Develop games in your browser. Powerful, performant & highly capable.
If it's all multiples of ten, you could check for:
score%10 = 0
if it's arbitrary values, you could add them as keys to a dictionary and check for them with the "has key"-expression, or you use an array and check for "contains value"