delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/09/08:04:40

Date: Wed, 9 Jun 1999 14:03:57 +0200 (MET DST)
From: "Lars S. Loevlie" <larssl AT online DOT no>
Message-ID: <11841041.928929837083.JavaMail.w-epost@localhost>
To: djgpp AT delorie DOT com
Subject: keyboard handlers?
Mime-Version: 1.0
X-Priority: 3
X-WEBOfficeREF: -3509268097514979500
X-Mailer: Nextel Epostleser
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id IAA23089
Reply-To: djgpp AT delorie DOT com

Can anyone tell me if I have to make this mysterious "something"
called a keyboard handler to take keyboard input in any game? Is there
any other way to increment a variable WHILE checking for keyboard input
but letting the "show go on" if there is none??
If it is so that I do have to make some complicated keyboard handler
for my simple snake-like game, then does anyone know of a good tutorial
showing how to do this?

Lars Løvlie

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019