The player moves automatically

0 favourites
  • 4 posts
From the Asset Store
Basic Rounded Vector Geometry Player Design with Glow for 3 player games
  • Hello guys, i have a very little question, but i dont know how to solve it.

    I want the player when collision with a invisible object, he walk automatically straight, and wait X seconds to fade the layout and go to the next layout, and you can't do anything when this happens, I tryied the bullet behavior and disable the plataform behavior, but you can still move!, is there any solve to this?

    (Sorry for my bad english )

  • I guess you are looking for something like this:

    Give the player a booelean variable EndOfLevel

    player on collision with invisibleobject

    player set boolean endoflevel to true

    player set platform behaviour start ignoring input

    player is boolean endoflevel

    player platform simulate pressing right

  • I guess you are looking for something like this:

    Give the player a booelean variable EndOfLevel

    player on collision with invisibleobject

    > player set boolean endoflevel to true

    > player set platform behaviour start ignoring input

    player is boolean endoflevel

    > player platform simulate pressing right

    Didn't work :c, when the player collision the invisible object, the player just stop and don't move

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • What you could do is to destroy your player sprite and replace it with a low level copy, whose only function is the walking animation. This would look identical but because it's a different object, wouldn't respond to any of the events involving the original.

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