How do you use the keyboard to move the actor?
supernuke620
Member Posts: 0
When I was trying a trial run of a prototype game I made with a ball bouncing around a room ( I know its a boring game ) It wouldn't budge from where it was. can anyone help me with this problem?
Comments
1. Walls
2. Ball.
Go into the walls actor and Nader physics, uncheck movable. Go back to the scene and drag four separate wall actors onto the scene and place them accordingly.
Then, go into the ball actor. Drag in an Accelerate behavior. Accelerate direction : 270 - speed 700.
Then, drag in a collide behavior - collide with wall.
Under physics, adjust the bounciness to 0.5.
Drag the ball not the scene and press preview.
That should do it.
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
You basically can use either a move, move to, accelerate, change velocity behaviour attache it to an actor and make it increase (or a specific number) when the key is down.
I have to say again that this might not be the best solution, but I hope it helps you find what you're looking for!