Author Topic: Conditional to check and see what direction the player is facing  (Read 1395 times)

CGM

  • Christian, 3D artist, former Platform Builder gamdev
  • Master Builder
  • *
  • Posts: 3836
    • View Profile
Title says it all.

War

  • "The top player is here!"
  • Level 20: Nobom
  • *
  • Posts: 1490
    • View Profile
    • My website
Re: Conditional to check and see what direction the player is facing
« Reply #1 on: July 16, 2019, 06:53:54 AM »
Good idea, I want this in the next update !
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!

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: Conditional to check and see what direction the player is facing
« Reply #2 on: July 16, 2019, 03:20:36 PM »
I think this:
Code: [Select]
if player 1 = face right
{
//Your code
}
Sorry because my English is not very good because I'm Spanish ;) :P