Try to make a game but problems with move to top.

DonroncaDonronca Member, PRO Posts: 87

hi i'm trying to make a new game but there's 1 problem.

i want that the person bounce two times and then it moves to the top and wait 3 seconds. than fall down.

i don't know how to configure it.
tried lots of stuff. but nothing works.

Do any one have an solution?

Thanks

Comments

  • ArmellineArmelline Member, PRO Posts: 5,456

    When you say "the person bounce two times and then it moves to the top", I assume you're meaning your player actor? If so it would definitely help to know what kind of game it is and what methods you're using to control the character, as well as the circumstances in which it will bounce twice.

    Right now there are just too many variables to be able to tell the best way to help you.

  • DonroncaDonronca Member, PRO Posts: 87

    hi thanks for comment.

    i want that the player actor bounce 2 times on the ground than it get launch to the top of the game, where i put another actor.
    that the player actor hanging there for x seconds. and falls down.

    now i have only that it go to the top but don't know how i can hold him still on the topActor.

    hope you understand what i'm trying to say.

    thanks for your time.

  • asheftasheft Member Posts: 8

    Are you trying to keep one the player actor at the same location as the topActor? If so, that can be done with two constraints.

  • ArmellineArmelline Member, PRO Posts: 5,456

    If the position he's moving to at the top is always the same, you could have a rule that says something like:

    When self.Position.Y ≥ 300
    Timer For 3 seconds (run to completion checked)
    Constrain attribute self.Position.Y to 300
    

    If there is another actor always at the top position, and the two will overlap, you could have something like:

    When actor overlaps or collides with actor of name TopActor
    Timer For 3 seconds (run to completion checked)
    Constrain attribute self.Position.Y to self.Position.Y
    

    But what you'll need to do really depends on everything else that is happening and you still haven't really given us enough information :(

  • DonroncaDonronca Member, PRO Posts: 87

    thanks it works...:D
    i'll post app link when it's done :)
    so you can see how it's done

    Thank you.....

Sign In or Register to comment.