Godot as live wallpaper (Windows-only solution for now, using Mono)

Hi,

I thought I would share this little trick I’m playing with right now.

I wanted to have my Godot app appear as a “live wallpaper”. It’s only an appearance: the app window is borderless and maximized (so one can still see the taskbar), and when it gets focus / click, C# catches it immediately, grabs the window handle and does:

SetWindowPos(hwnd, HWND_BOTTOM, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE);

before letting the event bubble away to whatever UI element might be interested. The result is pretty convincing actually, “blinking” a little only rarely.

I don’t know exactly how we would do that on X11 though.

1 Like

Cool!
I also made a little live wallpaper(in Gdscript)

1 Like

Oh, nice and beautiful

:+1: