How Do I Limit The Movement Of The Player?

Discussion in 'How Can I...?' started by Shrek, Jan 27, 2019.

  1. Shrek

    Shrek Boxer

    Joined:
    Jan 8, 2019
    Messages:
    18
    Likes Received:
    1
    Hi.

    I have been trying for weeks now to figure this out, I have researched and tried everything I can think of to figure this out. I feel this is such an easy issue to solve but I cannot figure it out.

    How do I limit / restrict the moment of a character?
    For example:
    [​IMG]
    [​IMG]

    I want the player to be able to only move:
    *UP/DOWN
    *LEFT/RIGHT
    .

    How do I do this?

    Thank you.
     

    Attached Files:

    • BB1.png
      BB1.png
      File size:
      53.6 KB
      Views:
      2
    • BB1.png
      BB1.png
      File size:
      53.6 KB
      Views:
      2
    • BB2.png
      BB2.png
      File size:
      66.7 KB
      Views:
      2
  2. Shrek

    Shrek Boxer

    Joined:
    Jan 8, 2019
    Messages:
    18
    Likes Received:
    1
    Figured it out -_- finally!
    Can NOT believe how stupidly simple it was .... -_- I was thinking way to advance -_-
     
  3. PunkPuffin

    PunkPuffin Avid Boxer

    Joined:
    Sep 27, 2018
    Messages:
    285
    Likes Received:
    195
    @Shrek you should post your solution even if it was easy
     

Share This Page