Increase Actor Speed Gradually
meppley7
Member Posts: 9
I am trying to increase the speed of my actor after every 5 seconds.
This actor will be moving on the X axis.
However, I am having trouble creating the formula properly.
Attribute = ActorSpeed = 100
Every 5 seconds Actors speed will increase by +20.
How would I create that? I understand how attributes work, I think I am typing it in wrong.
Time
Every 5(ActorSpeed+20)
This actor will be moving on the X axis.
However, I am having trouble creating the formula properly.
Attribute = ActorSpeed = 100
Every 5 seconds Actors speed will increase by +20.
How would I create that? I understand how attributes work, I think I am typing it in wrong.
Time
Every 5(ActorSpeed+20)
Comments
Every 5 seconds
Change Attribute
set self.motion.linearvelocity.x to self.motion.linearvelocity.x+20
Change Attribute ActorSpeed to ActorSpeed+20
Should do it...
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
Either that or I'm soooo developing the wrong apps.
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page