From: edwards AT cisunix DOT unh DOT edu Newsgroups: comp.os.msdos.djgpp Subject: Re: Keyboard input in Allegro Date: Thu, 17 Sep 1998 14:18:24 GMT Organization: Deja News - The Leader in Internet Discussion Lines: 24 Message-ID: <6tr5ng$vrs$1@nnrp1.dejanews.com> References: <6tjfon$bac$1 AT reader1 DOT reader DOT news DOT ozemail DOT net> NNTP-Posting-Host: 132.177.138.160 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hey, buddy, read the Allegro docs. Then, and only then, will you realize the TRUE power of Allegro. To answer your specific question, use the key[KEY_*] keyboard state buffer. In article <6tjfon$bac$1 AT reader1 DOT reader DOT news DOT ozemail DOT net>, "Tom" wrote: > Hi! > > I've decided that i want to try writing a game Allegro. It's going to be a > vertical scrolling shoot em up (pretty original hey? *cough*). Anyways, im > having trouble getting the keyboard to control the ship good.. > > Whenever I hold a key down, my ship will move a bit, then stop, then move > again. I'm pretty sure it has something to do with the keyboard delay before > repeating, How can i get around this? > > Later, > > Tom > > -----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum