delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/12/05:48:51

From: Vic <tudor AT cam DOT org>
Newsgroups: comp.os.msdos.djgpp
Subject: ALLEGRO: datafiles and palette manipulations
Date: Tue, 07 Oct 1997 20:54:22 -0400
Organization: Communications Accessibles Montreal, Quebec Canada
Lines: 10
Message-ID: <343AD9BE.7A0B@cam.org>
NNTP-Posting-Host: dynppp-133.hip.cam.org
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

hi. I'm doin this stupid pacman clone and ,if you know the game, at the
point where the dude gets invulnerable, the ghosts will change colors,
right? How do I do this in allegro? cause the palette is in a datafile,
and I say something like set_palette(dat[PALETA].dat). What I want is
something simmilar to pal[103].r=100 or something like that. Anyone?
TIA,
-- 
--> http://www.cam.org/~tudor <--
Go ahead and build another Messiah
We dig another grave...

- Raw text -


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