Best method to score jumping over something

Hi all

I wanted to find out the best way of having your Hero actor score points if they jump over a moving obstacle, which on contact will kill them but if they jump over it, they score points. I've tried a couple of methods that have failed.

If you think like a Mario game, but one where if Mario jumps on top of the enemy, he dies, not kills it - so jumping over it, is the only way he can score points.

thanks!

Like Balls? Then click here! We've 100 coming soon

Comments

  • jigglybeanjigglybean Member Posts: 1,584

    bump

    Like Balls? Then click here! We've 100 coming soon

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

    @jigglybean said:
    bump

    Constrain a taller (tall enough to accommodate the range of the hero's jump) actor to the obstacle so it acts like a detector to see if anything has passed through this area.

    When the hero collides with the obstacle = death.
    Otherwise if the hero collides with the detector = points.

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

    Quick example file . . . space bar to jump, left right to move.

    If you hit the obstacle (pink) you get a 'X'

    If you clear the obstacle (and pass through the green area) you get a '✓'

    This is the basic idea, using a detector, but you would need to set it up properly.

  • jigglybeanjigglybean Member Posts: 1,584

    thanks socks. I was thinking that this was the only way.

    Like Balls? Then click here! We've 100 coming soon

Sign In or Register to comment.