Progress!
Well, I gave up on opengl lights. I think I would get them working properly, but that would take too long.What I have done instead, is have two textures for the floor (light and dark textures). Normally, the dark texture shows, but when an enemy is looking in a direction, I overlay it with a light texture. Some interesting math in display.py, if that's your thing...
Finally, you can't see it very well, but the sight triangle is actually cone-shaped, and can be partially blocked by walls.
(log in to comment)Comments
richard on 2006/09/06 23:55:
the lights look great!