right=0;
if(attack==0){
x-=3;}
right=1;
if(attack==0){
x+=3;}
if(attack==0){
if(right==0){
ChangeAnimation("Event Actor","AttackLeft",FORWARD);}
if(right==1){
ChangeAnimation("Event Actor","AttackRight",FOWARD);}attack=1;}
ChangeAnimation("Event Actor","StopRight",FORWARD);
attack=0;
ChangeAnimation("Event Actor","StopLeft",FORWARD);
attack=0;
if(player.attack==1){
//hit action
}
deamonslayer4292 wrote:only thing now is the background
any ideas?
deamonslayer4292 wrote:yes but my background keeps going in front of my guy
Users browsing this forum: No registered users and 1 guest