Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: realtime game controls

From: anton::wilddsl::net::au at: 23-Sep-2007 22:21

Hi Anohin, Currently in R2 we can't detect key-up events. In my little games, I tried to use only the Ctrl and Shift keys, whose state can be detected continually with time events, and the mouse. But you have to think creatively to make a decent interface that way. A way to detect keys is probably to use a paid-for View/Pro or View/Command to get external library access, and link to SDL http://www.libsdl.org/ I haven't tried this myself, though. Regards, Anton.