Any movement that moves whilst I hold a key down and not at any other time is the kind I'm looking for.

Code:
while (key_w == on)
		{
move_var.y = 20;
wait(1);
}


For some reason, this makes it so that when I press W and let go, it moves until I hold it down again.

Last edited by Max_Prower; 03/01/09 10:54.