Newbie need help::: help with button start animation
Uplink1001
Member, PRO Posts: 64
HI,
I am totally new to this, so be patient...
Problem I have 9 buttons on screen (actors) each plays a different sound when pressed, at the bottom of the screen is a equalizer, when I press one of the buttons I would like the equalizer to animate and when the sound has finished I would like it to stop animation. is this possible? ( I have all the animation pics for the equalizer).
Any help would be great.
Thanks
(Newbie) Uplink1001
P.S was using MobiOne, but not great to use.....
can attach an image if someone can tell me how to do it.......
This discussion has been closed.
Comments
@Uplink1001, what you'll want to do is have your equalizer actor 'watch' for when a button is pressed then animate. To do that:
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
Hi, here's a template showing you how to do it.
There's only two music actors, not 9, but you can easily create more actors and play different sounds and animations.
You would simply create a series of equalizer images and put that in the animation box section.
To get you started learning GameSalad, you can learn a lot of things by going to GSHelper.com and downloading templates, or by watching their videos here.
Also, try out @DeepBlueApps' site. He's got a lot of good templates that are both free and available for purchase.
Here's your template! Hope it helps!
https://www.dropbox.com/s/q7hf1swvuysm54r/Archive 2.zip
Thanks for that Jamie_c
I will give that a try and get back.
Thaks again.
Uplink1001
HI. Jason_c
would it be possible for you to go into a more detailed explanation?
New to this you see.
Thanks.
Uplink1001
Thanks for the example.
will get back with results.
Uplink1001
@Uplink1001, the example you are checking out pretty much does what I outlined above...
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
Hi.
all working except for the animation of the equalizer does not stop when the sound has finished, is there a way to do this?
so far great stuff (well done that man)
Thanks
Uplink1001
Hi, were you playing around with the template, because I just opened it and it works fine.
hi.
No, just set up all the rules and attributes in my development app, all works except for the animation not stopping when the audio has finished playing, does stop when you press the a second time though.
that should have been does stop when you press the audio play button a second time.
Okay. It's pretty simple. Just go to your music actors that play the music, and in the otherwise section put, change attribute: musicOn_off to false.
and in the animation of the equalizer actor put, change attribute: musicOn_off to false
Thanks for that. I will give it a go.....
In the equalizer actor, you want to put the change attribute in the otherwise of the rule that plays the animation.
will get back later tomorrow with results if it works.....
Uplink1001
Hi.
This can now be classed as solved thanks to the guys above....
All working now, great stuff Thanks......
Uplink1001
Discussion duplicate and/or continued at http://forums.gamesalad.com/discussion/70429/animate-buttons-issue#latest
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps