Making Advanced GUI Applications with Godot
This is an area I&#x27;ve been actively exploring and think has real potential.<p>For context, my interest is in:<p>* Cross-platform support.<p>* Ease of distribution.<p>* Ease of construction.<p>* Platform stability.<p>* &quot;Licensing&quot;&#x2F;business issues.<p>* Accessibility.<p>In the past I&#x27;ve used Qt w&#x2F; C++, Qt w&#x2F; Python, web w&#x2F;Python backend, Python w&#x2F;embedded web server and dabbled&#x2F;looked into things like wx etc. (Oh, and, MS Access with VBA. :D )<p># Platform Native UI<p>If you want&#x2F;need Platform Native UI, then Godot is not going to work for you, period. But neither are most of the other cross-platform options because if they&#x27;re only 95% they&#x27;re not native. My impression is that if you want platform native <i>and</i> cross-platform then per-platform clients w&#x2F;shared backend implementation is pretty much required.<p>But I also think that platform native (as much as I might like it) is not necessarily mandatory for successful product, see, e.g. Slack.<p>I think the key around this is once you&#x27;ve chosen to not <i>be</i> platform native don&#x27;t <i>pretend</i> to be platform native. Lean into making the UI tailored for your application.<p>And with a game engine there&#x27;s a whole lot of space to lean into in this regard--particularly in relation to visualisation.<p>If you&#x27;re happy with 95% and don&#x27;t care about any other aspect then likely Qt will be a contender for you.<p># Ease of Distribution<p><i>Trying</i> to distribute a Qt + Python app as a single binary (within the last 2 years) was how I ended up ditching Qt &amp; using an embedded web server instead. Despite all the effort &amp; projects trying to make this work, IMO it still doesn&#x27;t.<p>With the small initial Godot download and, a (admittedly half gig) &quot;templates&quot; download containing the cross-platform app &quot;shells&quot;, it&#x27;s possible to export to Windows, Mac, Linux, iOS, Android &amp; HTML5. Depending on the platform the output might be a single binary, a disk image, zip file or binary + support files but where required traditional packaging tools can also be used.<p>This is really powerful for me (as both a developer &amp; user) when the platforms I use (primarily Mac&#x2F;Linux) are not in the majority &amp; frequently get left out of releases.<p># Ease of Construction<p>In relation to games, the highest praise I have for Godot is:<p>* Since I downloaded Godot I&#x27;ve actually made and released games.<p>I&#x27;ve found the integrated nature of the IDE really supports iterative development.<p>Game-making is often a very collaborative effort and because Godot has been developed (in part) to enable non-developers to not have developers be the bottle-neck it has visual-based tools &amp; a node&#x2F;component based architecture which also can make it a powerful tool for other technical but &quot;non-developer&quot; people.<p># Why not use web technologies?<p>If your project makes sense as a web site then, make it a web site.<p>If you want to have a standalone app, you have experience with web technologies and memory&#x2F;performance aspects aren&#x27;t an issue, then, sure build it on Electron.<p>But if you can do those things, you can almost certainly use GDScript and gain the benefit of an integrated IDE and comparatively tiny downloads. (And still export it to HTML5&#x2F;WebAssembly--admittedly currently probably with a slower initial page load time--but it&#x27;s still an option.)<p>Additionally, currently Godot runs on older OS (e.g. even back as far as Mac OS 10.9) than Electron does which keeps getting dragged along to newer versions by Chrome&#x27;s requirements which seem to place little emphasis on supporting older machines&#x2F;OS.<p># Why not Qt?<p>Ah, Qt, I really want to like you.<p>If Qt works for you, then use it.<p>But my experience with Qt has been one of a business that continually seems to struggle with how to survive; tries to stretch their license compliance in terms of LGPL &amp; contract with KDE to breaking pointing (because, really, they wish they didn&#x27;t have that constraint at all); and, a continual churn of the underlying technology that results in apps that only support newer &amp; newer OS&#x2F;Qt versions even if they don&#x27;t require anything more than, say, Qt 5.2.<p>If you&#x27;re a big corporate and&#x2F;or if a 95% cross-platform solution is enough, then I think there&#x27;s still situations where Qt probably makes sense but in terms of my niche desktop application development needs it&#x27;s just too much hassle.<p># Is Godot ready for applications now?<p>Somewhat. Obviously if your application is a game &amp; the required feature set matches Godot&#x27;s, then yes. :)<p>Based on my own experience using Godot to develop non-game applications tends to run into some areas of its feature-set which have seen less attention &amp; so have bugs, lack features and&#x2F;or lack documentation. (e.g. complex Tree controls, more sophisticated font rendering (e.g. kerning), very complex layouts.)<p>Overall, I think Godot is at a stage where a bunch of people (including OP) have realised it has potential around non-game application development but also has some rough edges in that regard that still needs to be improved.<p>Given the size &amp; focus of the development team up to this point that&#x27;s not surprising but I&#x27;m excited to see where it may go in future.<p># A Note on Accessibility<p>As mentioned elsewhere in the comments, Godot also unfortunately doesn&#x27;t currently have a great accessibility story.<p>There is at least at least one project that I know of that is working on improving that: <a href="https:&#x2F;&#x2F;github.com&#x2F;lightsoutgames&#x2F;godot-accessibility&#x2F;" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;lightsoutgames&#x2F;godot-accessibility&#x2F;</a><p>In addition, Godot&#x27;s node-based UI system in particular I think lends itself to retro-fitting better accessibility support more than a different architecture might.<p>But if you need your app to be accessible today then Godot probably won&#x27;t meet your needs.<p># Bonus: Are InfoSec tools a potential niche for Godot-based apps?<p>I think that&#x27;s a strong...maybe. :)<p>To explore the potential of Godot for non-game apps I&#x27;ve been working on developing a Godot-based hex viewer&#x2F;editor with a focus on binary&#x2F;format reverse-engineering &amp; visualisation motivated in part by a talk where someone complained that hex editors hadn&#x27;t done much new for years.<p>Early in development I realised that InfoSec has a combination of aspects that might make it particularly well suited for Godot-based apps:<p>* Many people who are technically skilled but consider themselves &quot;non-developers&quot;.<p>* Has problems to solve that benefit from new forms of visualisation (often with large amounts of data) not met by standard UI.<p>* Has an affinity for flashy visuals. :)<p>* Need tools that don&#x27;t only run in the cloud.<p>(In InfoSec and want to make this happen? I&#x27;m available for hire. ;) )