i need a little help

Pennez-GamesPennez-Games Member Posts: 107
edited July 2012 in Working with GS (Mac)
Hey iv been working with gamesalad for a little bit now and i created some controlls for the character when i click on the controll for the character to move, he moves, but he wont stop moving, like i want to have to hold down the controlls to make the character to move, not just click,
and also i set gravity so i can add a jump button later, but the character is just autobouncing when he shits the ground instead of just staying there.

any help would be appreciated thank you!

Answers

  • muoch10muoch10 Member Posts: 112
    So i assume that the controls change an attribute right? So say that when your not pressing the controls change that attribute back to its original value. And on that actor that moves say that when that attribute is at that original value it will change self.motion.linear vilocity x to 0. That should make it so it wont move right or left when the controls aren't being pressed. Then on the actor and on the floor change bounciness (under physics) to 0.
  • Pennez-GamesPennez-Games Member Posts: 107
    So i assume that the controls change an attribute right? So say that when your not pressing the controls change that attribute back to its original value. And on that actor that moves say that when that attribute is at that original value it will change self.motion.linear vilocity x to 0. That should make it so it wont move right or left when the controls aren't being pressed. Then on the actor and on the floor change bounciness (under physics) to 0.
    Ok i got rid of the gravity and put in an acceleration button, i want to make the acceleration go directly down but i dont know the numbers for it, i drag the position of the acceleration down, but its not exactly down, would u happen to be able to help me here? and yes ur right about the attribute, i will do that now thank you!
  • muoch10muoch10 Member Posts: 112
    if you want it exactly down then do 270 or just hold shift while changing the angle.
Sign In or Register to comment.