when touch is outside of the actor(on the background), game should get over
hey guys,
Need your help..
I'm designing a game in which when spawned actor is pressed/touched score will be incremented and but when background is touched or you can say when touch is outside the actor the game should get over..
got stuck with the 2nd part of the game that when background is touched game should get over..
i have applied a rule on background that when background is touched change scene to game over..but this is not working properly as when i'm touching my actor also game is getting over.
i have also tried this rule in my actor that when touch is outside go to game over screen..but this rule is also not working..1st time my actor is spawned and is touched score is getting increased but on the 2nd spawning whn touch is pressed it goes to game over screen..
any solution people for this????
Comments
Instead of changing scene, how about pausing the game, and displaying that scene.
This is indeed tricky. Try my demo: http://forums.gamesalad.com/discussion/comment/455270/#Comment_455270
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
how do i open it @tatiang
Create a game level boolean attribute and put a condition in the background actor when attribute = true. Place place a change attribute in your actor when touch is pressed changes attribute to false and in the otherwise section changes it to true.
Universal Binary Template - Universal Binary Template Instructions Rev 4 (Short) - Custom Score Display Template
Oh sorry, I just noticed that you're using the PC version of Creator. This video explains how to convert it from Mac Creator:
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
thank you so much everybody my problem is pretty solved now
thank you @tatiang (*)