hi im tring to make that :
allways : set text "money:" & Global('Money')
if "sprite" is overlapping "sprite2" then add 5 to Globalvariable money
and destroy sprite2
but something wont work !
can u help me
i just want that if a player go over a sprite (money) he gets it and the text says "money : "5""
Develop games in your browser. Powerful, performant & highly capable.
Use 'on collision' instead of overlapping.
sprite1 on collision with sprite2 - add 5 to globalvariable
Might need to put the always above or below the collision event to make it work, try both.
Always - set text to "globalvariable'
Moved thread from Discussion. Please be mindful of posting your topics in the proper forum.