Creating a random movement (New to gamesalad)
Elendoro
Member Posts: 2
in Help Wanted
Hello (Not sure if this is in the right topic)
I just started with Gamesalad and I'm trying to create a movement to my character so that when I press on him, he will fly up in the air and then automatically fall down on the floor again. I do know how to do this so hes flying straight up, but how would I do if I want the character(actor) to randomly move to different locations? For example, if I press him once, he flies right up, if I press him again he randomly flies upwards but to the right aswell, and then perhaps next touch left and upwards.
Do I use the Move or Move to rule for this?
Comments
There are lots of ways to accomplish what you are asking. Here is one:
You'd also need to have gravity set up and some sort of floor for the actor to hit and stop the jumping. I've included a little sample.
You can change the jumping behavior by adjusting the numbers in the random statements.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
Thank you for the help! appreciate it! Can I download that even if I'm on PC? I heard it might only work for Mac?
I believe it should work fine, try it out and see
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page