Pages: 1
Topic closed
Hey guys.
Im creating a Action fighting game..similar to Tekker/street fighter.
Im stuck on a glitch.. in which
For example.
if two fighters are fighting then suddently. if fighter in the left position ..comes to the right position... then it will still point towards in the rightward direction and not in the oppositie side where the other fighter is standing.. what should i do in order to fix this issue??
in order to this ..will i hve to create create costumes which point in the other direction?? is it somehow possible if i can change the direction of the fighter so that it always point towards..the other fighter??
i allready tried this one below
<if( position of sprite one < position of sprite 2
<point towards( sprite 2
but it doesn't seem to work..
so any ideas??
Last edited by shamoon (2010-03-05 16:14:07)
Offline
There's a better way: [set x to ([x position] of [sprite 2])]. That weird block is in Sensing.
Offline
^
Pretty much the only way.
In case you didn't understand that he means put that on sprite 1. A flag block above it of course.
Offline
Try this:
When green flag clicked
forever
point towards fighter
move 3 steps
endforever
Offline
Topic closed
Pages: 1