11 ms·
I agree but I just wish, I wish it had three things: - customizable native menu bar - native file dialogs - drag & drop support from the outside world that wou
by isometric_8 2y ago
I agree but I just wish, I wish it had three things:
- customizable native menu bar
- native file dialogs
- drag & drop support from the outside world
that would make it would be an excellent option for desktop app development.
- tiniuclx 2y agoNative file dialogs would be nice, agreed. Same for drag and drop support. The great thing about Godot is that it is, after all, "just" an open source application written in C++, and if someone wants to add support for this badly enough it is definitely doable, especially if you limit yourself to just one or two platforms. As for menu bar, why do you think a native one in particular is better? Godot has great support for menu bars already, and I'm just not sure what the native one would add to the table.
- isometric_8 2y agoThings might have changed since 2013, but the user is this post had their SFML game rejected by the mac store because of the menu bar not meeting spec. https://en.sfml-dev.org/forums/index.php?PHPSESSID=ce5jim0on9b95ukjom7ks1dih3&topic=7925.msg71616#msg71616 https://en.sfml-dev.org/forums/index.php?PHPSESSID=ce5jim0on... I just don't want to put all the effort into a cross platform app for it to be rejected for the same reason.
- nvlled 2y agoLucky 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!