How can I keep my player accelerating down while moving left or right?
willmeyers827
Member Posts: 2
I have my game setup that if you touch one side of the screen the player moves that way. I have the player accelerating downwards so it gets harder to dodge obstacles as you go. But when my player moves, it stops going down and moves in a direction. Then when I stop touching, it restarts the acceleration process. How can I get the player to keep accelerating down while it moves?
(Please keep your explanation simple, I've had GameSalad for seven days only.)
Comments
Change the player motion velocity x.
What is that?
..
use change att now acceleration
self.Motion.Linear Velocity.X 100 for right
self.Motion.Linear Velocity.X -100 for left
self.Motion.Linear Velocity.Y 100 for up
self.Motion.Linear Velocity.Y -100 for down
You responded more than I was going to.
Here is the Cookbook. Look for "Linear Velocity."
http://help.gamesalad.com/gamesalad-cookbook/1-getting-started/1-06-actors-in-gamesalad/
Lol, I decided my contribution was pretty much useless, it's the same old thing I point out over and over again