I think being able to have transparent window game would be very interesting. I’m seeing more and more games and app acting as “widgets” you can place anywhere on your desktop, and being able to make it with GDevelop makes perfect sense to me.
Here’s a game that got quite a lot of traction: Rusty’s Retirement (on Steam)
Or a Youtuber who made a similar idle game called Frog Pond: Frog Pond by shar
But it can be useful for small apps too, not only games.
Features:
Transparent window,
always on top (so user can continue his task while the app stays on screen)
click through transparent pixels (so user can still click, type etc in other apps)
It’s probably not something big and important for the dev team, but if anyone is interested I’ll be really grateful. I’ve tried to mess with Electron and modifying the main.js or index.html of an export game, without success.
#2 is already possible via events today. #3 isn’t possible because games run in electron (a browser) and cannot allow for click through due to browser and OS standards.
For #1 I believe this action is the closest thing possible and has been in the engine for about a year now.
But otherwise I don’t believe you can make the scene background transparent, which if I remember correctly is another electron limitation. There may be a way around with editing your exported source code but I am not familiar with the specifics
Thanks a lot for your answer. Indeed I tried this action, but the scene just take the default alpha color of the scene, not fully transparent.
Didn’t know for the always on top action though, thank you !
I see, it looks like a dead end here then. I’ll just go with Godot for this specific project, but I’m not that much confident in my coding skills so it worries me.
You can make the Electron Window full transparent. You can even set whater DIV you want to be the draggable object so that you can move the transparent window around.
I just answered an older thread about this as i would love to see this feature.
In said thread i reminisced about how some music players in the late 90s had custom skins with super weird layouts, just be be more adapted to the design of the desktop.
Currently i am struggeling with removing the black background that is constantly created for the “Base Layer”. I read the PixiJS docs and they state that it is possible to remove the main layer of the canvas, but obviously the canvas of gDevelop is different.
So in short:
once that you can remove that background color of the “Base Layer” the next step is to make the Electron Window transparent. I think that this would open up a new state of art of games made with gDevelop. Or in my case: apps made with gDevelop.
this is very possible, and is just 1 electron setting away.
it happens when creating the window for your game, in gdevelops main.js
you would just need to toggle transparent to true somehow