[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: |
|
 Download |
Filename: |
tutorial.t |
Filesize: |
2.18 KB |
Downloaded: |
3143 Time(s) |
|
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
Tony

|
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. |
|
|
|
 |
shorthair

|
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
|
|
|
|
|
 |
naoki

|
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
|
|
|
|
|
 |
|
|