Shadows in Isometric

BlitzPlus Forums/BlitzPlus Programming/Shadows in Isometric

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.

hey, you could use write pixel fast methods, since it looks like the shadows won't be to big. Try and store the images under the player in an array, since readpixelfast is slow. Read the value from the array, then meet it halfway with the value of a black pixel. Should be fairly easy. Just half the red, green and blue value. Then write this information to the screen buffer. There is code in the archives for seperating the red, green and blue value from the number given when using readpixel fats, and they is code for combining it again to be used with writepixelfast.