Computer Science Canada Input keydown functions |
Author: | Regole [ Fri Jan 09, 2004 1:15 pm ] | ||
Post subject: | Input keydown functions | ||
we are all familiar with the popular code for recieving input from the keyboard:
however i am experiencing a few problems, i am trying to make a simple circle move using this,i made it smooth using view.update, however the problem is it is not redrawing properly,and the result is a very nice etch-a sketch program...but its not what i want.does anyone know what i'm missing here?also how might i go about enabling diagonal movement? thanks for your help. |
Author: | DanShadow [ Fri Jan 09, 2004 2:44 pm ] | ||
Post subject: | |||
Here, use this:
And Your welcome. [Use the number pad to the right of your key board to move.] |