Originally Posted By: Ralph
Hi,
Replace this:
Code:
on_d = move_right;

With this:
Code:
while(1){
  Player_2.pos_x +=5*(key_d-key_a)*time_step;
  wait(1);
}


i dont understand - why do you do the (key_d - key_a) thing? how does that work..?


HURRR DERP DERP DEERRPP HURR