I don't know why you wouldn't keep it simple like adding a couple extra vars in like facing_right and facing_left. When you call Left() or Right(), just change them like this:
var
facing_left = 0
facing_right = 1
proc
Left()
facing_left = 1
facing_right = 0
Right()
facing_right = 1
facing_left = 0
proc
CheckDirection()
if(facing_right)
return 1
else
return 0 |
In any case, Xooxer, your demo is probably the greatest thing I've seen on BYOND in such a long time. I've messed with it for the entire extent of today and tweaked it to my specification, and I found it to be the BEST pixel based engine on BYOND to date. Good job bro, and thanks a lot.
|
|