Switch Button Problem

Discussion in 'How Can I...?' started by viper_rmk, Nov 20, 2017.

  1. viper_rmk

    viper_rmk Boxer

    Joined:
    Nov 10, 2017
    Messages:
    1
    Likes Received:
    0
    Hi guys first time poster so be easy lol I searched,

    I'm having an issue that's been driving me crazy the last couple of days and I can seem to find the correct solution. I have a game where there are two "platforms" one on the bottom of the screen and the other on the top. (kinda like the game gravity switch). When the user tap a button ( I'm using an A-B switch button) the player is supposed to switch from the bottom to the top and they do, but I only want that action to be performed once and only when the player is on the platform.

    Currently the users can tap the button in "mid-jump" and change the direction and i cant seem to get rid of that. I have jump from ground on but that doesn't seem to do anything. Is it even possible to accomplish this action with a switch button? Is there another way?

    Thanks for any advice.
     

Share This Page