Quote from: Scarab on Sun 18/10/2009 05:17:14
On_Key_Press moves the character awkwardly and only seems to notice one button at a time, whereas IsKeyPressed works much more smoothly and seems to notice two at a time (and just executes them alternately)
I'm not really sure what you mean.
on_key_press acts like any normal application. For example, if you open Notepad, press Q and then press W as well, you will only get W's and not Q's. This is standard behaviour.
IsKeyPressed can check multiple keys on the keyboard -- how many it can recognise at a time depends on your keyboard and the relative position of the keys.
Depending on what sort of character movement you want, you'll use one or other of the methods. For a Sierra-style press-to-start and press-to-stop walking system, on_key_press works perfectly. If you want the character to move while the key is held down, you'd use IsKeyPressed.