http://GameProgrammer.Com

Programming

GP Mailing List
     Thread Index
     Date Index

ATXGPSIG List
     Thread Index
     Date Index

Google
>

Home

Wise2Food



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with getch( )



============================================================
ARE YOU OVER 50? Make sure you are getting the discounts
you deserve and save money. SeniorDiscounts.com brings you
a FREE listing of over 40,000 discounts, so visit today!
http://click.topica.com/caaacqybUrGczbU68iFa/seniordiscounts
============================================================

> The best way to deal with this is to set flags indicating which keys are
> pressed. then in your game loop, perform an action based on which flags
are
--8<--
> Anyone else, feel free to make any objections or other comments...
If you have a significant time between checking your key input (or even if
you don't,) you might want to put the keypress information into a queue to
be removed once processed (or some other idea) so that you don't lose any
input that falls between frames, and to give (possibly) smoother control.

-[ Neil-Edelman -- dreaded.neil@phreaker.net -- ICQ UIN: 705130
-[ http://neil.freeshell.org/
-[ "Nature makes frequent use of [the infinite] everywhere" -Georg Cantor
============================================================
Hot. Cool. And FREE.
Get outrageously awesome offers on stuff you want emailed
direct.
http://click.topica.com/caaacgGbUrGczbU68iFf/TopOffers
============================================================

==^================================================================
EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrGcz.bU68iF
Or send an email To: gameprogrammer-unsubscribe@topica.com
This email was sent to: list@pendleton.com

T O P I C A -- Register now to manage your mail!
http://www.topica.com/partner/tag02/register
==^================================================================