creating lightsources

BlitzMax Forums/BlitzMax Programming/creating lightsources

Your tiles can be drawn at whatever you consider a "normal" brightness. Take a look at the screenshots in the Alien Breed remake post to see what these normally look like. The pixels are darkened by the shadeblend image or brightened by the lightblend image based on the lighting data at that location. This is based on distance from any lights within range, falloff, and whether or not there is line of sight.