www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/31/10:50:21

From: ramzeyme AT aol DOT com (RaMzEyMe)
Newsgroups: comp.os.msdos.djgpp
Subject: keyboard function problems
Lines: 14
NNTP-Posting-Host: ladder07.news.aol.com
X-Admin: news AT aol DOT com
Date: 31 May 1999 01:19:20 GMT
Organization: AOL http://www.aol.com
Message-ID: <19990530211920.03860.00006214@ng-cr1.aol.com>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hey everyone!  I am new to allegro and just started to implement keyboard
control into my game.  

Problem:  This does not work.  (i also tried different key combinations such as
KEY_ESC, etc.  I also tried different statements after the if statement to see
if it was the fade_out() function that wasn't working.  No such luck.)

if (key[KEY_RIGHT]) 
       fade_out(5);

WHY NOT?

Thanx,
Martin

- Raw text -


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