azawawi / raku-godot-fun

Raku Fun with Godot 3
MIT License
4 stars 0 forks source link

Question: Godot-powered GUI? #1

Open Veraellyunjie opened 1 year ago

Veraellyunjie commented 1 year ago

Godot is not only a game engine but also a GUI engine for apps, an alternative to GTK/Qt/Enlightenment/Tk/... https://scribe.rip/swlh/what-makes-godot-engine-great-for-advance-gui-applications-b1cfb941df3b

Your module seems to be the 1st one dealing with Godot from Raku.
How suitable is / will_be your module for app GUIs? Do you have plans on separate module for Raku app GUIs in Godot?

(Such a coupling is my much-wished thing that I am far from implementing myself due to lack of knowledge and time)

azawawi commented 1 year ago

@Veraellyunjie First thing I am really sorry I did not answer in a timely fashion. I had some family issues to attend to.

I was sick and tired of clicking on the UI to add the nodes and wanted a way to automate it to prototype projects in a quick fashion.

The focus was on generating a Godot project skeleton with 3D nodes and its assets from Raku. It can be extended easily to Node2D and Control nodes. We need also to add support for signals and to support the game "physics" loop.

As of now, there is no Raku GDNative support for Godot that I know of and hence we cannot embed rakudo moar inside it.

Please take a look at https://godotengine.org/article/announcing-godot-2022-showreels and Godot Engine - Apps & Tools - 2022 Showreel in particular to see examples of applications using the Godot Engine.

Let me know what you think.

Veraellyunjie commented 1 year ago

First thing I am really sorry I did not answer in a timely fashion.

There is nothing to apologize for. I myself am overwhelmed by events currently surrounding me. As one of Godot apps (from the showreel) description says:

Ever felt like being productive? No? Me neither.

:) Well-said…

Signals, "physics" loop, embed moar

I can not assure you that you can count on me. I would be glad to put my hands on a ready Raku-Godot solution, whereas developing it myself or participating is beyond my current ability. The maximum I could provide would be bug-reports and possibly tiny minor fixes.

Still, GUI in Godot from Raku is so enticing that if nobody implements it - I would try to, but it will take no less than a couple of years before I finish other, more prioritized projects, to start with this one.