Gradients?

BlitzMax Forums/BlitzMax Beginners Area/Gradients?

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.



I was wondering if something like the above is possible via code. Currently I have a png of the black to transparent circle, which is hooked up to the players x,y. I draw black rects around it.

I would like to not have to resort to a png for the gradient black to transparent circle, is that possible? Maybe someone knows of a function someone wrote?