How to change score when actors collide?
mu191989@gmail.com
Member Posts: 3
I am new to 0.10.5 version and It was hard for me to find a cookbook or a tutorial where I can learn coding score although I already saw a simple feature I want to learn: how to set a score once my sprite collapse with another item its simple coding and I don't know it. I hope you can help me thanks a lot bye.
mu191989@gmail.com
Comments
Please give your thread a descriptive title. "Hi I have a question" does not give the community here a quick idea about what your specific question is. I've changed the title of this thread for you.
By "collapse" I assume you mean "collide." The rule would be If actor overlaps or collides with [other actor name] then change attribute game.score to game.score+1. You have to create game.score as a custom attribute of type integer.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User