[Tutorial] Using Your keyboard in Turing(Arrow Keys)
Author |
Message |
HaVoC
|
Posted: Sat Jan 24, 2004 10:14 pm Post subject: [Tutorial] Using Your keyboard in Turing(Arrow Keys) |
|
|
Very simple. Some turing knowledge required.
Description: |
|
![](http://compsci.ca/v3/pafiledb/images/icons/clip.gif) Download |
Filename: |
tutorial.t |
Filesize: |
2.18 KB |
Downloaded: |
3142 Time(s) |
|
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Tony
![](http://wiki.compsci.ca/images/f/f4/OniTony.gif)
|
Posted: Sat Jan 24, 2004 10:23 pm Post subject: (No 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
|
Tony's programming blog. DWITE - a programming contest. |
|
|
|
![](images/spacer.gif) |
shorthair
![](http://www.members.shaw.ca/rfolz/domo-kun.jpg)
|
Posted: Sat Jan 24, 2004 10:51 pm Post subject: (No 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
|
|
|
|
|
![](images/spacer.gif) |
naoki
![](http://members.lycos.co.uk/switch01/raidenex.bmp)
|
Posted: Mon Feb 09, 2004 4:30 pm Post subject: (No 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
|
|
|
|
|
![](images/spacer.gif) |
|
|