Changing a movement path after clicking
BasGoodboy
Member, PRO Posts: 310
Hey all, I want to add a small minigame in my game,
A bird actor got the following rules:
Move to > 358, 476 relative to scene
Speed: 92
If touch is released, do:
move to > 160, -17 relative to scene
So when player touches bird, the bird falls down..
Only.. it doesnt fall down, apparently the first rule is so strong it doesn't break when clicked, cause when player clicks nothing happends, the bird keeps flying first position 358; 476.
Anyone who can help me out?
A bird actor got the following rules:
Move to > 358, 476 relative to scene
Speed: 92
If touch is released, do:
move to > 160, -17 relative to scene
So when player touches bird, the bird falls down..
Only.. it doesnt fall down, apparently the first rule is so strong it doesn't break when clicked, cause when player clicks nothing happends, the bird keeps flying first position 358; 476.
Anyone who can help me out?
Goodboi Gamestudios | Monster Jumper now on the App Store
Comments
Rule
Your other conditions. And Self.(integer) = 0
Move (do not check run to completion)
Rule
When touch is pressed. And. Self.(integer) = 0
Change attribute Self.(integer) to 1
Rule
When Self.(integer) = 1
Move (do not check run to completion)
Rule (if you want to change it back or to another)
When Self.(integer)= 1 and any other condition you want
You could also put a timer here.
Change attribute Self.(integer) to 0
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
I'm blackedout.. Can't see my fault here:
Dropping when clicked still don't work:
Goodboi Gamestudios | Monster Jumper now on the App Store
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
Since it's always true, unless you click, it will move.
If you click it now it falls down ^.^
Thanks a lot mate.
Goodboi Gamestudios | Monster Jumper now on the App Store
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS