- Code: Select all
if(compass == 1);
xvelocity = directional_velocity + 1;
if(compass == -1);
xvelocity = directional_velocity - 1;
the compass is a varible and when i go left the compass is positive, when i go right it is negitive. but when i jump left he goes in a cercile motion but when i jump right its just what i wanted, how do i make it so he jumps far left when i go left and he jumps far right when i go right?