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

Username:   Password: 
 RegisterRegister   
 OMG! INPUT.KEYDOWN
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Uber Tankz




PostPosted: Fri Jun 09, 2006 12:08 am   Post subject: OMG! INPUT.KEYDOWN

okay, i have this whole input.keydown thinger but its confusing and i hate it um can someone post the simplist possible way to get input OR a basic skeleton for doing the input.keydown way? word.
Sponsor
Sponsor
Sponsor
sponsor
[Gandalf]




PostPosted: Fri Jun 09, 2006 12:44 am   Post subject: (No subject)

You can find the tutorial located in the [Turing Tutorials] section over here.
Remm




PostPosted: Fri Jun 09, 2006 8:52 am   Post subject: (No subject)

also a nice one in the turing referance...
Hack.saw




PostPosted: Fri Jun 09, 2006 8:11 pm   Post subject: (No subject)

Inputkeydown isnt too hard to learn. The tutorial was amazing, id never heard of it before nad learned it in like 5 mins. only thing u have to memorise is the array char boolean thing oherwise this is the gen. skele:

code:
Input.KeyDown (chars)
   

    if chars (KEY_UP_ARROW) then
        y := y + 5
        delay (10)
    end if


    if chars (KEY_DOWN_ARROW) then
        y := y - 5
        delay (10)
    end if


    if chars (KEY_RIGHT_ARROW) then
        x := x + 5
        delay (10)
    end if


    if chars (KEY_LEFT_ARROW) then
        x := x - 5
        delay (10)
    end if

    drawfilloval (x, y, 10, 10, red)
    View.Update
%(coverup)
end loop
Jimbo 420




PostPosted: Mon Jun 12, 2006 11:57 am   Post subject: (No subject)

look in the turing help menu of the turing program it'll tell you exactly what to do to make it work
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 5 Posts ]
Jump to:   


Style:  
Search: