www.delorie.com/archives/browse.cgi | search |
From: | "finding" <finding AT bigfoot DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Allegro-accelerating |
Date: | Sun, 14 Nov 1999 10:06:32 +0800 |
Organization: | IMS Netvigator |
Lines: | 27 |
Message-ID: | <80l5f9$qjl2@imsp212.netvigator.com> |
References: | <80k5uc$40u3 AT imsp212 DOT netvigator DOT com> <80k6pn$eni$1 AT news03 DOT btx DOT dtag DOT de> <80k92i$88q$1 AT baker DOT cc DOT tut DOT fi> |
NNTP-Posting-Host: | tswc5a225.netvigator.com |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 5.00.2014.211 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2014.211 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
sorry for my poor english.... that's what I exactly think.... and I would also like to know how to decrease the value when the key is not pressing..... Forsberg Sakari <zacu AT cc DOT tut DOT fi> wrote in message news:80k92i$88q$1 AT baker DOT cc DOT tut DOT fi... > Raul Carolus <carolura AT luther DOT edu> wrote: > > be sure to call install_keyboard() before using: > > > while(keypressed()) > > { > > variable++; > > } > > I think if you're programming a real-time game, then you > should use > > if ( keypressed() ) > variable++; > > because otherwise your game stops when you are pressing a key > > ** Sakari Forsberg zacu AT cc DOT tut DOT fi ** > ** Information: finger zacu AT assari DOT cc DOT tut DOT fi **
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |