1. #1

    Skill game - Platformer Jumping

    Hey,

    Does anybody know how I should set up a platformer jumping mechanism in the editor?

    I currently have the following setup

    [list:3br8a044]A hit trigger between the Game Character and any solid objects (without disable after hit)[/list:u:3br8a044]
    [list:3br8a044]A Button input[/list:u:3br8a044]
    [list:3br8a044]These two feed into a clamp filter which waits for 2 (both) input signals. The output triggers the jump mechanism[/list:u:3br8a044]

    Currently, I can only jump once, and I assume the problem is the clamp filter, which doesn't/can't be reset to 0 inputs after jumping.
    Does anybody know how I should fix this?

    Thanks
    Share this post

  2. #2
    dasraizer's Avatar Senior Member
    Join Date
    Apr 2014
    Location
    UK, Isle of Wight
    Posts
    1,195

    Re: Skill game - Platformer Jumping

    why not change your setup so the hit trigger enables the button for jump and when the button is pressed make the 1st impulse from the button disable itself
    Share this post

  3. #3

    Re: Skill game - Platformer Jumping

    Works great, Thanks

    Everything in the editor works ever so slightly differently than it does in traditional coding
    Share this post

  4. #4
    dasraizer's Avatar Senior Member
    Join Date
    Apr 2014
    Location
    UK, Isle of Wight
    Posts
    1,195

    Re: Skill game - Platformer Jumping

    np

    i thought that too 1st of all and then worked out its the same as creating threads, each impulse chain of code is just a thread. you can still make loops etc but have to watch how long your impulse code length is as its limited to fit with the games time base, its still decent enough to do complex things with.
    Share this post