How to make a hold on button?
Weiyu
Member Posts: 216
Hello guys, I have a idea but I don't know how to do it.
I want to let music still play , when I hold down the button.
And when button unleash, music will stop.
Maybe just like a shooting game.
When I hold down the button, it will shoot, but when I unleash button, shooting will stop.
Could anyone tell me how to do it. Thank you
Comments
Just switch the Pause Music and Play Music behaviors above. :P
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Whoops! :*
Specifically - switch the Pause Music and Play Music behaviours that are inside the Rule.
Code fixed . . .
Lol @Socks... that's great!
I'm gonna go make a feature request for Masking Tape Behavior Swap. I'll give you credit, of course.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
haha, socks has too much time on his hands
www.rossmanbrosgames.com
Not just time, but also peanut butter.
@Socks, love it!
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
Wet my pants. Tape. That's classic.
If your tape is still out, can out tape a search for actor function in creator. Thanks
Thank you for your help, and that picture is so cool hahaha.