GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

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 Posts: 14Member

    bump

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

    @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 Posts: 14Member

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

  • Shenanigans StudioShenanigans Studio Posts: 73Member, PRO

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

  • Shenanigans StudioShenanigans Studio Posts: 73Member, PRO

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

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

    ...

Sign In or Register to comment.