Don't Fall On Start

Discussion in 'How Can I...?' started by dmitry_artamonov, Aug 8, 2016.

  1. dmitry_artamonov

    dmitry_artamonov Boxer

    Joined:
    Mar 15, 2016
    Messages:
    16
    Likes Received:
    5
    Hi,

    I have a jump game with non-zero gravity settings.
    When game starts I expect that the character would stay fixed until player taps the screen to jump, but it falls immediately.

    Is there any ways to fix character on start?

    Thanks
     
  2. trudnai

    trudnai Miniboss Boxer

    Joined:
    Sep 25, 2015
    Messages:
    1,234
    Likes Received:
    697
    Place an invisible platform under the character...
     
  3. dmitry_artamonov

    dmitry_artamonov Boxer

    Joined:
    Mar 15, 2016
    Messages:
    16
    Likes Received:
    5
    Thanks for the answer!

    The problem is that I use checkpoints in all random scenes so the player can continue play a game from the last checkpoint. In this case an invisible platform doesn't work. I thought that there might be some gameplay settings which defines character state at the start of a game.
     
  4. wesam_badr

    wesam_badr Miniboss Boxer

    Joined:
    Oct 10, 2015
    Messages:
    1,064
    Likes Received:
    479
    use an advanced move give the linear velocity y axe a value from 0.1 to 1 depend on gravity and make the event on start i hope it work for you
     
    ESLAMWAEL likes this.

Share This Page