Push/Pull doesn't work suddenly.

0 favourites
  • 5 posts
From the Asset Store
High quality sound effect pack, in the following categories: Garden work, tools
  • Hey,

    I tried following tutorials of push/pull mechanics for my platform game. It works fine until I changed the collision of the crate. It doesn't work anymore.

    My game involve character switching forms. Each form is its own sprite object.

    Game File:

    mediafire.com

  • May I know what kind of tutorial is that ?

    I have a low connection so i cant view any video or download for now

  • May I know what kind of tutorial is that ?

    I have a low connection so i cant view any video or download for now

    Something like this:

    System Every Tick | Overlapper Set position to Player

    Overlapper is overlapping Crate | Crate Set Platform maximum speed to 30

    Player Y > Crate.Y |

    Mouse Right button is down (for pull) |

    Player X < Crate.X | Crate simulating pressing Right

    Keyboard (Right) is down |

    ^vice versa

  • I think you should put this,, This is from my way. for me not mirror at player mean it is face to the right

    -Player on collusion with Crate > Crate.X + 2

    Player mirror is invert or Player go right (another condition)

    if the player is from right and your character is not mirror

    -Player on collusion with Crate > Crate.X - 2

    Player is mirror or Player go left(another condition )

    when player is mirror

    here -2 and +2 just to make the crate move smothly also dont forget the crate need to be solid

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Update: It's fixed.

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