I try to write my first game "XONIX" on your's really super languge.
But problem is that it's impossible to get color of point of the screen i mean of Default render target that is the screen!
I know that it possible to get color of any image imagecolor(handle, x, y, red, green, blue)
but how can i get color of a any point i need of Default render target that is the screen?
the function i sugesst can look's like this: targetcolor(handle,x,y) or pointcolor(handle,x,y)
this function will be very useful.
You are right, there's not such a function (at least in the current documentation).
I suppose is an easy task to accomplish for the author to extend the existent imagecolor that, called with a NIL handle argument, retrieve the color of default render target.
In the meantime, as a workaround, I suggest to create a backbuffer with the screen size, set this buffer as default target, get the imagecolor you need against this image and finally, blit that on screen.
This tecnique is explained in example project #18 Particles and buffer coming with FBA.