Check direction a character is facing.

Started by KodiakBehr, Sat 18/08/2012 15:46:13

Previous topic - Next topic

KodiakBehr

This should be straightforward, but I'm afraid I'm at a loss.

Is there a way to check which direction a stationary (or moving) character is facing?

Khris

Just check the .Loop:

Code: ags
  if (player.Loop == 2) Display("The player is facing right.");

KodiakBehr


SMF spam blocked by CleanTalk