3 ms·
Lucky you, godot does have those features, although a bit limited to an extent. For native file dialogs, see the methods file_dialog* in https://docs.godotengi
by nvlled 2y ago
Lucky you, godot does have those features, although a bit limited to an extent.
For native file dialogs, see the methods file_dialog* in
https://docs.godotengine.org/en/stable/classes/class_displayserver.html#class-displayserver https://docs.godotengine.org/en/stable/classes/class_display...
Not quite sure what you meant by drag & drop, but godot has API for getting the files dropped onto the window: https://docs.godotengine.org/en/stable/classes/class_window.html#class-window-signal-files-dropped https://docs.godotengine.org/en/stable/classes/class_window....
Finally, you can create (or customize?) native menus:
https://docs.godotengine.org/en/stable/classes/class_nativemenu.html https://docs.godotengine.org/en/stable/classes/class_nativem...
Also, slightly unrelated, I have WIP useless desktop widget created with godot https://github.com/nvlled/fps-desktop https://github.com/nvlled/fps-desktop that shoots a gun on mouseclick. Tested only on linux.
- isometric_8 2y agoI wasn't aware of the dropped API - good to know. The gun thing is excellent, thanks for sharing!