Save time and get your player moving with one line of code. Plus the option to: -Set keyboard keys to control player -Set the speed -Set if the sprite looks in the direction of movement.
for example(in a step event):
//example A using arrow keys. //The speed is 10, followed by the arrow keys, followed by true for look in the direction of movement. scr_move_8_directions(10,vk_left,vk_right,vk_up,vk_down,true);
//example B using W,A,S,D keys //The speed is 10, followed by the W,A,S,D keys, followed by false for do not look in the direction of movement. scr_move_8_directions(10,ord("A"),ord("D"),ord("W"),ord("S"),false);
End User Licence Agreement (EULA).