Mail Archives: djgpp/1997/03/04/00:39:41
From: | "Chris" <dingfam AT imag DOT net>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Lighting Techniques
|
Date: | 4 Mar 1997 04:23:17 GMT
|
Organization: | DINGWALL+DINGWALL
|
Lines: | 15
|
Message-ID: | <01bc2853$aa224320$4cddf4cc@imag.net.imag.net>
|
NNTP-Posting-Host: | within.imag.net
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Heya!
I'm devolping a 2D Tile Engine for Allegro 2.2. As of now, I have a
pretty basic engine which does everything you'd expect a tile-engine to do,
but, of course, this isn't enought for a game.
To improve the engine, I want to add some lighting effects using
Allegro's draw_lit_sprite() to "tint" areas of tiles surrounding a light.
How do I do this?
Thanks,
chris
dingfam AT imag DOT net
(If this isn't enought information for you, don't hesitate to email for
more!)
- Raw text -