Translucency in 2D

BlitzPlus Forums/BlitzPlus Programming/Translucency in 2D

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

well, do the shadows ever project onto moving images or tiles? I'd imagine they do. mmmm. You could use the checked shadow approach.

#.#.#.#.#.
.#.#.#.#.#
#.#.#.#.#.
.#.#.#.#.#
#.#.#.#.#.
.#.#.#.#.#


basically meaning that #=a pixel of the image and .=a black pixel. It tricks the eye into thinking the image is transparent. Use only on resolutions 800x600 or greater.

And also, don't let any of these checked shadows overlap, cause it looks kinda bad. Hope that helps!

[EDIT] sorry, sounds a bit vague. For the shadows your wanting, make the shadow a very dark grey, but NOT black. Then checker the image with black pixel. I sent you an image to show you what i mean, only it's a circle.