Hi,
Is there any way to make opposite of MoveTo code?
I mean that instead of going towards an actor, the main actor goes in opposite direction. I'm working on a game where an actor should escape monsters itself.
direction("ennemy.x"."ennemy.y","x","y");
directional_velocity=2;
angle=direction(actor1.x, actor1.y, actor2.x, actor2.y); +180;
directional_velocity=4;
Users browsing this forum: No registered users and 1 guest