Game Mechanic

Discussion in 'Buildbox General Discussion' started by jelly, Oct 12, 2018.

  1. jelly

    jelly Boxer

    Joined:
    Oct 11, 2018
    Messages:
    1
    Likes Received:
    0
    Hey boxers. I want to create a simple one tap game Mechanic in bb3d. So if the user taps on the screen the player will go smoothly to the right and if you press again it goes to the left. The thing is that the player should only move on two specifi ways. Any ideas how to do that? Thanks in advance.
     
  2. BobR

    BobR Boxer

    Joined:
    Aug 15, 2018
    Messages:
    19
    Likes Received:
    3
    I know I saw this issue discussed in a tutorial video somewhere, but unfortunately I don't recall exactly which one.
    It was part of a much more comprehensive video, but they wanted to limit the movement to left and right only.
    As I recall, it involved setting values for the "x-axis" (left and right) and making the "y-axis" (up and down) settings 0 in the Character Movement settings.
    Also as I recall, this was for a "joystick-type" control setup which would mean "tap left" to move left, "tap right" to move right... NOT the single button control you're talking about. THAT part I haven't seen done yet.
     
  3. DanFarfan

    DanFarfan Avid Boxer

    Joined:
    Sep 22, 2018
    Messages:
    101
    Likes Received:
    42
    The asset you want to start with is called "Lanes."
    The video you want to watch is here:




    Good Luck

    @DanFarfaan
     

Share This Page