How do I make my player slide automatically.

0 favourites
  • 2 posts
From the Asset Store
3 different games for kids, easy to edit, mobile ready
  • Hello everyone!

    So I'm currently trying to make this new game and I just started with the foundation when I encountered my first problem.

    The game is like a puzzle slider where you can only slide to one direction at once. But I also want to add a special block which, on collison or overlapping, slides the player towards the position of the arrow. I first tried to make this block with a arrow to the left. I almost got this to work, but I encountered 2 problems:

    • When colliding with the left arrow from the left, the player freezes and is unable to move.
    • When sliding from left to right, going above the block, the player will slowly decelerate and move back.

    I hope once you see the project file it's a little more clear what I'm talking about <img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green" />

    Can someone help me fix these problems?

    Kind regards,

    Paul

    mediafire.com

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Did you test:

    When player overlap slide sprite

    every tic - set platform vector x to 200

    And i think your file is wrong.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)