Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 [Tutorial] Using Your keyboard in Turing(Arrow Keys)
Index -> Programming, Turing -> Turing Tutorials
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
HaVoC




PostPosted: Sat Jan 24, 2004 10:14 pm   Post subject: [Tutorial] Using Your keyboard in Turing(Arrow Keys)

Very simple. Some turing knowledge required.


tutorial.t
 Description:
Keyboard Tutorial

Download
 Filename:  tutorial.t
 Filesize:  2.18 KB
 Downloaded:  3132 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Sat Jan 24, 2004 10:23 pm   Post subject: (No subject)

that umm... Confused 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
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
shorthair




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




PostPosted: 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
Display posts from previous:   
   Index -> Programming, Turing -> Turing Tutorials
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: