Bouncy Platforms - Animation

Hey guys,

I'm attempting to use a bouncy platform in my game. I have an animation for the platform that I would like to use when the player jumps on it. I tried to set a rule for collision, but the animation only runs when the play runs into the side of the platform, and not the top. Any help would be appreciated. Thanks!

Comments

  • DessekDessek Member Posts: 14

    bump

  • SocksSocks London, UK.Member Posts: 12,822

    @Dessek said:
    . . . the animation only runs when the play runs into the side of the platform . . .

    This is caused by the rules and behaviours (and conditions and values . . etc) that you have used to set the game up.

  • DessekDessek Member Posts: 14

    Ah, is there a check I can do to make this work? Any suggestions?

  • Shenanigans StudioShenanigans Studio Member, PRO Posts: 73

    try:
    If all:
    collides with actor
    Self.position.y > platform.position.y

  • Shenanigans StudioShenanigans Studio Member, PRO Posts: 73

    Actually I guess since its the platform animating:
    self.position.y < character.position.y

  • SocksSocks London, UK.Member Posts: 12,822
    edited February 2015

    ...

Sign In or Register to comment.