how do i stop left and right movement?

guillefaceguilleface Member, BASIC Posts: 1,039
edited November -1 in Working with GS (Mac)
my player moves left and right and jumps, but sometimes when colliding with some actors i just want to jump, can i disable the left and right move?

Comments

  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    You can change the linear velocity x back to 0 anytime you want to make something stop moving.

    ___________________________________________________________________________________
    TEMPLATES AND PROJECT HELP BY TENRDRMER. CLICK HERE!!!

    AppSolute Entertainment on Facebook
    AppSolute Entertainment on iTunes
  • guillefaceguilleface Member, BASIC Posts: 1,039
    dint work or i dont know how to do it., here are my rules.
    when colliding with this platform i change my actor/ball velocity to 200 to 0 angle relate to scene, so that makes my ball moves by itself to the right but i still able to control my player left and right, and i want to disable this
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    Can you post a video of your issue.
  • guillefaceguilleface Member, BASIC Posts: 1,039
    i dont know how to make a video but if you want i send you the file
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    You can use quicktime to make a screen recording. and then upload it to youtube. it would be best if you can post a video in case someone else has a quick fix for you that I dont see.
  • calvin9403calvin9403 Member Posts: 3,186
    tenrdrmer said:
    You can use quicktime to make a screen recording. and then upload it to youtube. it would be best if you can post a video in case someone else has a quick fix for you that I dont see.

    or he can upload his file if he want

    _____________________________________________________________________________________
    http://www.gamesaladforum.com/
    http://gshelper.com/
    http://www.youtube.com/user/GameSaladCookbook#p/
  • guillefaceguilleface Member, BASIC Posts: 1,039
    i dont get the save feaute guys on quicktime. maybe since iam not using a original apple i dont work good, anyways i dont have a problem is just i want to see how i can disable the move or i guess make different rules to enable move.
    let say you have your hero walking on the floor, you can make it move left and right and jump. then you step in another type of floor/ground , but this time i just want the person who plays the game to be able to jump only, and not move left and right, like the game "the impossible game"
  • dmilinovichiiidmilinovichiii Member Posts: 620
    Change velocity attribute. Change speed to 0.
Sign In or Register to comment.