How can i change direction of player by touch left and right part of screen

Discussion in 'How Can I...?' started by buildboxdemo, Oct 3, 2015.

  1. buildboxdemo

    buildboxdemo Boxer

    Joined:
    Oct 3, 2015
    Messages:
    3
    Likes Received:
    0
  2. Kamil Kucma

    Kamil Kucma Boxer

    Joined:
    Sep 25, 2015
    Messages:
    62
    Likes Received:
    41
    Simply add 2 huge, invisible buttons in the game field.. ;)
     
  3. buildboxdemo

    buildboxdemo Boxer

    Joined:
    Oct 3, 2015
    Messages:
    3
    Likes Received:
    0
  4. stevinz

    stevinz Avid Boxer

    Joined:
    Sep 25, 2015
    Messages:
    169
    Likes Received:
    142
    There is no default way built into build box, other the using the move left and move right buttons. One trick is to use two gameplay action buttons and take advantage of gravity. Have the left button change the gravity to a -x value, pulling the character to the left. And the right button change gravity to a positive x value, pulling the character back to the right.
     
    darone and buildboxdemo like this.
  5. buildboxdemo

    buildboxdemo Boxer

    Joined:
    Oct 3, 2015
    Messages:
    3
    Likes Received:
    0
    Thanks so much! I will try that way!
     

Share This Page