Changing animation by clicking an actor
ofekez
Member, PRO Posts: 95
Hello there
I'm practicing on Gamesalad right now and i'm making Flappy bird clone
with a shop system and i got stuck...
I've made a shop system with a bird colors change and i didn't understand how to change the animation either.
Thanks!
BR,
Ofek.
Comments
You're trying to make it so when someone enters your shop they can select different colors for the bird?
Like this?
https://www.dropbox.com/s/3k2oa01qv5euv3l/ChangeColor.zip?dl=0
Actually its not colors, it's changing images and every image have animation...
You can use integers and rules to change items such as actors color/ image/ animation and so on. Im using them to make upgrades in an app that i'm making. http://gamesaladappdev.blogspot.com/search/label/Current Creations
Here is an example. I have perk that will trigger multiple fireballs when activated. When you first start playing the game you will see the perk as a Lock...When you go to the store you can unlock the perk by buying the Unlock Fireball. now when you get back into the game the image has change and you now have access to the perk. I posted a few screenshots at this link to show you what im talking about. http://gamesaladappdev.blogspot.com/search/label/Current Creations
Ah yes, I missed that part
So basically you want the animation of an image to change?
I would use the template I gave you but change the behavior Change Image to animation
Just use integers. Set up a rule to have one animation(or image shown) playing when integer is = to 1...Then if someone buys and upgrade or something have that integer change to 2. then you have another rule that says when integer is = to 2 play a different animation or change image... you can also use this to play sounds, change level difficulty and so on
Can someone please give me a template, i'm really bad at reading in English...
Thanks a lot!
Don't really know how to upload a template so i made a Short vid...Just watch carefully i had to rush through because my onscreen recorder only gave me 2 minutes. You can also use methods like this to change just about anything...
Hi there, try this video about changing image based on table values! you could replace the image with animation! should be simple enough
That works to...lol...