Game played on the desktop

I was wondering how to make a game like Outcore: Desktop Adventure (google it if you don’t know it)
It is a game played on the desktop.
My real question is:
Is it possible to make all parts of the window that doesn’t have an object fully transparent, but you can still see objects and full transparency. So like a window transparent background.