[solved] Making It Unique | Make Your Own Game 04 - Problm

Discussion in 'How Can I...?' started by DingDong118, Feb 4, 2017.

  1. DingDong118

    DingDong118 Boxer

    Joined:
    Aug 24, 2016
    Messages:
    24
    Likes Received:
    0
    I tried replicating that "Barrier" that would force the characters to bounce in the opposite direction upon collision.

    However, even after following all of the steps exactly (Character -> Advanced Move: Forced Switch Button, Checked -2 X value, 1 Y Value, Multiply, Collision, Timeout: 0.001) I still couldn't replicate the same effect.
    upload_2017-2-4_23-35-30.png

    Did I miss a step?
    Does the gravity have to be adjusted?
    Does a Bounce force need to be added?
     
    Last edited: Feb 4, 2017
  2. Jaky1

    Jaky1 Serious Boxer

    Joined:
    Aug 22, 2016
    Messages:
    523
    Likes Received:
    142
    Insted of multiply use replace and increase timeout a little if you want velocity to go
     
  3. DingDong118

    DingDong118 Boxer

    Joined:
    Aug 24, 2016
    Messages:
    24
    Likes Received:
    0
    Solved, although I'm not entirely sure what's the cause.

    Turns out, whenever I previewed the game in Buildbox and used the Arrows Keys to switch the movement of my character, the Barrier effect wouldn't trigger.

    However, whenever I used my Mouse Click to switch the movement of the character, the Barrier effect would trigger.
    I tested the game on my actual phone and the Barrier works.

    I'm just not sure why moving with Arrow Keys didn't work while moving with Mouse Click did work
     

Share This Page