Trying to get my actor to randomly jump up and randomly fall back down.
realworthygames
Member Posts: 31
Hi guys I need some help please. I am trying to program a random timer to get my actor to randomly jump every 3-7seconds for 0.2-0.6seconds (in the air) at random, so that he falls back down at different times (by the way my down is towards the left side as you can see). Did I do something wrong or is there any better way to program this? Thank you
.
Comments
I would do this instead (see screen shot), I've also attached the project if you want to check it out.
The final Change Attribute is changing the self.Motion.Linear.VelocityX. You might need to mess with the numbers some to get the exact timing you want.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
Wow jamie_c your so helpful thank you! I appreciate it man!!
@realworthygames, you're welcome! :)
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page