playMaker

Author Topic: Need some help with ground checking before jump  (Read 2917 times)

Tetriser

  • Playmaker Newbie
  • *
  • Posts: 6
    • SONAR Games
Need some help with ground checking before jump
« on: October 08, 2016, 11:01:52 PM »


I was working with my another project, which is a 2D rolling physics platformer similar to NightSky. The ground checking was successful, but it won't make the ball jump.

Do I make a mistake, I'm a total newbie with PlayMaker.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Need some help with ground checking before jump
« Reply #1 on: October 09, 2016, 09:42:44 AM »
Hi,
Maybe This Tutorial can help you out

Tetriser

  • Playmaker Newbie
  • *
  • Posts: 6
    • SONAR Games
Re: Need some help with ground checking before jump
« Reply #2 on: October 09, 2016, 10:04:30 PM »
Thanks, djaydino.


Just watched the first part, I'll try later.

Tetriser

  • Playmaker Newbie
  • *
  • Posts: 6
    • SONAR Games
Re: Need some help with ground checking before jump
« Reply #3 on: October 10, 2016, 11:38:08 AM »
Just tried it, but still don't work.
The ground check is successful, and the jump mechanic is better. But it won't work on the second try.
Do I miss something like the triggers or the FSM, I'm almost discouraged with this.  :'(
Anyway, here's my prototype.  :)
« Last Edit: October 10, 2016, 11:43:12 AM by Tetriser »

Kemono

  • Playmaker Newbie
  • *
  • Posts: 11
Re: Need some help with ground checking before jump
« Reply #4 on: October 10, 2016, 12:33:09 PM »
Hi,
I'm doing something similar (with 3D). I have a separate collider that has a fsm running, that toggles a bool based on collider enter/exit.

The jump fsm, grabs the bool with "get fsm bool", when the jump button is pressed and do a bool test.

I found it easier to handle it in two different fsm's.
Maybe it helps.

Tetriser

  • Playmaker Newbie
  • *
  • Posts: 6
    • SONAR Games
Re: Need some help with ground checking before jump
« Reply #5 on: October 11, 2016, 10:50:50 PM »
Good news, I just found a solution.  ;D


I've successfully made the single jump mechanic.


I'm just need that ball to jump first and disable the jumping, when the ball is collided with something, it should be able to jump again. It just that simple that I can't figure it out.


Anyway, thanks for your help.