Author Topic: Check if player its on air  (Read 1909 times)

Antikore

  • Developing Mortal Theater at day, developing depression at night.
  • Level 22: Trex
  • *
  • Posts: 2020
  • Enjoying Platform Builder from the very start
    • View Profile
    • PBuilder Resources
Check if player its on air
« on: January 13, 2020, 08:13:30 AM »
Title explains by itself.
Sorry because my English is not very good because I'm Spanish ;) :P

Gizgord

  • average
  • Level 18: Statix
  • *
  • Posts: 835
    • View Profile
Re: Check if player its on air
« Reply #1 on: January 13, 2020, 02:47:50 PM »
right. I think that's a given.

War

  • "The top player is here!"
  • Level 20: Nobom
  • *
  • Posts: 1490
    • View Profile
    • My website
Re: Check if player its on air
« Reply #2 on: January 13, 2020, 03:26:03 PM »
Title explains by itself.
Yup, it would be really practical.
Hey, wassup wassup? My name is Warrior555MainsGanon (but just call me War) and I'm the main guy behind Megaman Zero Online and the upcoming Matt's Adventure! I don't speak often here but I'm a very friendly lad so if you wanna talk, don't hesitate!

CGM

  • Christian, 3D artist, former Platform Builder gamdev
  • Master Builder
  • *
  • Posts: 3836
    • View Profile
Re: Check if player its on air
« Reply #3 on: January 13, 2020, 07:51:09 PM »
Already possible:

if falling=true

Antikore

  • Developing Mortal Theater at day, developing depression at night.
  • Level 22: Trex
  • *
  • Posts: 2020
  • Enjoying Platform Builder from the very start
    • View Profile
    • PBuilder Resources
Re: Check if player its on air
« Reply #4 on: January 14, 2020, 07:10:07 AM »
Already possible:

if falling=true
Sure that would work?
Sorry because my English is not very good because I'm Spanish ;) :P

Gizgord

  • average
  • Level 18: Statix
  • *
  • Posts: 835
    • View Profile
Re: Check if player its on air
« Reply #5 on: January 14, 2020, 07:22:57 AM »
Sure that would work?
it should.
now that I think about it, maybe this could work:

if jumping = true & if falling = true

CGM

  • Christian, 3D artist, former Platform Builder gamdev
  • Master Builder
  • *
  • Posts: 3836
    • View Profile
Re: Check if player its on air
« Reply #6 on: January 14, 2020, 03:14:23 PM »
I knew I was missing the jumping part.

TingThing

  • Admin and Developer
  • Level 20: Nobom
  • *
  • Posts: 1395
  • Creator and Developer of Platform Builder
    • View Profile
    • Platform Builder Home
Re: Check if player its on air
« Reply #7 on: January 23, 2020, 01:56:41 AM »
it should.
now that I think about it, maybe this could work:

if jumping = true & if falling = true


Close, but I think you would want:
if jumping = true or falling = true

Both of them will never be true at the same time.

CGM

  • Christian, 3D artist, former Platform Builder gamdev
  • Master Builder
  • *
  • Posts: 3836
    • View Profile
Re: Check if player its on air
« Reply #8 on: January 23, 2020, 02:30:22 AM »
Never thought of that.

War

  • "The top player is here!"
  • Level 20: Nobom
  • *
  • Posts: 1490
    • View Profile
    • My website
Re: Check if player its on air
« Reply #9 on: January 23, 2020, 09:07:37 AM »

Close, but I think you would want:
if jumping = true or falling = true

Both of them will never be true at the same time.
Wow, you're really smart! 👏
Hey, wassup wassup? My name is Warrior555MainsGanon (but just call me War) and I'm the main guy behind Megaman Zero Online and the upcoming Matt's Adventure! I don't speak often here but I'm a very friendly lad so if you wanna talk, don't hesitate!