1. #1

    Skill Game Movement Help

    I'm trying to make this skill game where the idea is to dodge other obstacles, Your character is a circle. I'm having trouble making the circle move right when you push the left stick to the right. It will move 1 tick if you don't even touch it, then it just stops. I haven't attempted to make the left stick movement, but hope to do the same with it as I did the right. If anyone can walk me through how to do this, all I want is to be able to move right/left when you move the left stick to one of those directions. THANKS!
    Share this post

  2. #2

    Re: Skill Game Movement Help

    you may need to look it up, because i dont have that problem, although you may need to change the command, so instead of the left stick, you may need to make it a button.
    Share this post

  3. #3
    dasraizer's Avatar Senior Member
    Join Date
    Apr 2014
    Location
    UK, Isle of Wight
    Posts
    1,195

    Re: Skill Game Movement Help

    things you need to know, the position on the axis for movement and store this value, i'll assume X and the joystick value -3 to 3 from the game object info source.

    the OPE movement for X will be targeting the stored value and this value will be added to by the joy stick value, this stick value needs to be scaled.

    so OPE-move X=VDS X-<SetValue(add, two input(Joystick / scale))-<Interval

    or
    vdsX is a Variable Data Source used to hold the value for current X location
    joyOut is a Two Input Operator (Divide,Operand1=JoyStick Horizontal , Operand2=Scale, say 10)

    interval to Set Value Event (type Add,joyOut, target = vdsX) to OPE (move X on local with its target set to vdsX)

    this will make a paddle style control

    edit: i think it was moving one place for you as the local movement was not being increased by the joystick output, instead it was just being set to it as a location.
    Share this post