
-----------------------------------
tudball33
Wed May 21, 2008 3:22 pm

input.keydown help plz
-----------------------------------
how do i make it so that the program doesn't "wait for input", it just continues without waiting when i want to have an input like the "1" or "a" key?

-----------------------------------
Tony
Wed May 21, 2008 3:25 pm

RE:input.keydown help plz
-----------------------------------
moved from Tutorials (please post in proper forums)

you use Input.KeyDown

which you seem to have mentioned in the title.

-----------------------------------
Sean
Wed May 21, 2008 3:28 pm

Re: input.keydown help plz
-----------------------------------
An example:


var key : array char of boolean

loop
     Input.KeyDown (key)

     if key(KEY_UP_ARROW) then
          Draw.FillOval (maxx div 2, maxy div 2, 15, 15, red)
          View.Update
          Cls
      end if
end loop

