At 12:16 PM -0800 11/8/04, Michael Rebar wrote:
Is this the best strategy for continually accessing game pad input...?
Definitely not. WaitForElement is intended for *configuring* your
input devices. You use it in the "Input Options" dialog or screen or
whatever, to let the user choose what buttons, switches, sliders, or
whatnot they want to bind to the various functions of your game.
While the game is running, you should never WaitForElement. Simply
check the status of the elements you've already collected. And I
don't see that a thread is needed for that; just do it on each frame
of your game.
Best,
- Joe
--
REAL World 2005 - The REALbasic User Conference
March 23-25, 2005, Austin, Texas
<http://www.realsoftware.com/realworld>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|