Computer Science Canada [Tutorial] Using Your keyboard in Turing(Arrow Keys) |
Author: | HaVoC [ Sat Jan 24, 2004 10:14 pm ] |
Post subject: | [Tutorial] Using Your keyboard in Turing(Arrow Keys) |
Very simple. Some turing knowledge required. |
Author: | Tony [ Sat Jan 24, 2004 10:23 pm ] |
Post subject: | |
that umm... not the best way to do it... besides, you should be using Input.KeyDown for controls. And the tutorial was writen a while back... its here |
Author: | shorthair [ Sat Jan 24, 2004 10:51 pm ] |
Post subject: | |
i wrote an ord finder , i prefer to use the keys that way , also its not a very good way to do it , you should use View.Update and make it a flicker free app |
Author: | naoki [ Mon Feb 09, 2004 4:30 pm ] |
Post subject: | |
Also, Input.KeyDown allows you to input more than one key at a time. Yours can only go in one direction at once Also, I think you should make a buffer for the keys, although once again, KeyDown has a buffer for you. This stops the ball from going all over the place because it has to output a result for all the key strokes you entered This can be helpful for those side-scrollers and vertical shooters |