News for hackers. Stuff that matters.
Re:Brian Bucklew Porting Caves of Qud from Unity to Godot by georgeecollins on Sunday September 17, 2023 @05:33PM (#37549567)
Godot is much less featured but extremely easy to learn imo.
Re:Brian Bucklew Porting Caves of Qud from Unity to Godot by monkeydreams on Sunday September 17, 2023 @10:06PM (#37551385)
> Godot is much less featured but extremely easy to learn imo.

Also, for 2D, it is sooooo much easier to implement. No messing around with orthographical cameras, no tilemaps appearing with random lines, colours, etc. And 2D performance exceeds Unity's.

Re:Brian Bucklew Porting Caves of Qud from Unity to Godot by Glyptodon on Sunday September 17, 2023 @10:41PM (#37551606)
Does Unity have a true 2-D vector graphic engine or system of some kind? That seems like the main thing that doesn't look obvious to me as a total non-expert looking at Godot. (Mostly curious. I don't make games, but I hate the pixel-art 2-D style.)
Re:Brian Bucklew Porting Caves of Qud from Unity to Godot by Karliss on Monday September 18, 2023 @06:01AM (#37554216)
Unity has an svg package which has been stuck in experimental state for years like many other unity features. I wouldn't call it true vector graphic engine. It can be configured to either generate bitmap sprite at build time (minor convenience over converting svg to bitmap manually) or it can generate triangle mesh (from what I understand also done at build time). In the second case once you start zooming it doesn't necessarily look very great either. Once you zoom out lines look bad since they are formed by thin strip of triangles which doesn't work too good for few pixel thin lines . And when you zoom in you start to see that its made from triangles instead of round curves since the generated triangle mesh is fixed. With both approaches svg benefits are largely lost compared to true vector graphic rendering engines.

I haven't seen any true 2d vector graphic engine suitable for games after flash beside the software made to be alternative flash players. Yes there are a bunch of games that still use that art style but in many cases they might be drawn as vector graphics, but then converted to bitmap for the game engine, maybe with some runtime shaders on top for sharper look. SVG is just way too different from how game graphic APIs works. Just making a non real time SVG renderer is hard enough already. Even programs like Inkscape whose only task is drawing and manipulating are sometimes struggling with it. Open a more complex SVG and zoom in/out move around and you will see as Inkscape tries to keep up updating and caching the rendered image in chunks.

It might be possible to do something using browser svg support although I am not how good the performance would be with the kind of dynamic content games need.

There are also a couple of UI frameworks which support SVG. For something like that it can be acceptable to use slower but higher quality svg renderer and then caching result. For the most part UI elements are either static or at most move around due to scroll views and zoom rarely changing so caching works very well.

Re:Brian Bucklew Porting Caves of Qud from Unity to Godot by wizzledonker on Sunday September 17, 2023 @11:26PM (#37551880)
I regret the years I spent with Unity

Any non-trivial feature that Unity has where Godot lacks is usually re-implemented by bigger developers anyway. For Indie developers, these features are almost never necessary.

When developing tools, Godot is far superior. Any support guarantee that Unity provides is easily bested by the ability to inspect the Godot source code without signing an NDA. With the changes in Godot 4, developing add-on tools is easier than ever.

The Godot project is well managed, with pull requests being merged in a timely manner without a loss of overall project quality.

The mass exodus to Godot is perfectly timed. Godot 4 just released with many changes and improvements, addressing almost all the usual pain points between the two engines (especially in 3D).

Re:Brian Bucklew Porting Caves of Qud from Unity to Godot by chii on Sunday September 17, 2023 @11:55PM (#37552061)
The one aspect that godot lacks currently is the store and marketplace ecosystem.

But perhaps the existing unity ecosystem sellers will look towards porting their stuff over, since their customers are in mass exodus mode.

Godot needs to prepare a good marketplace solution to accept the oncoming ecosystem developers, so that they can take advantage of this. Could even have a potential to use revenue from the marketplace to fund godot development!

Re:Brian Bucklew Porting Caves of Qud from Unity to Godot by viraptor on Monday September 18, 2023 @05:26AM (#37554014)
I don't know where I read that bit, but the maintainers are very aware of the lack of marketplace and I think it was the first point for the "how can we accommodate the new devs" list. So it's likely to happen relatively soon.
Re:Brian Bucklew Porting Caves of Qud from Unity to Godot by fbdab103 on Monday September 18, 2023 @01:25AM (#37552522)
I keep toying with the idea of using Godot to develop a local desktop application. Something like a poor man's Electron?
Re:Brian Bucklew Porting Caves of Qud from Unity to Godot by sen on Monday September 18, 2023 @01:29AM (#37552545)
For what it’s worth, the Godot editor itself is made in Godot, and works great as a cross platform desktop application.
Re:Brian Bucklew Porting Caves of Qud from Unity to Godot by GaelFG on Monday September 18, 2023 @02:40AM (#37553003)
I never tried with Godot specifically, but i (and fellow varied developers) did it a lot in Unity and "it worked". The main points were :

- Relative ease of use for us (especially when working with juniors/intern who often only studied game engine and don't have framework experience)

- Performances ok/good (seriously it may depend the platform but a native game engine often have far better performance than a browser on input latency/rendering, wich is logical, it's the point AND they do a lot less than browser on other features)

- You can go really wild on design/feedback with low effort, especially if you have a mobile game ui on yours work folders

The pain points (some may be alleviated with dedicated libraries, I used none) were :

- On complex UI (multi tabbing/multiple modal screen ) the lack of native support you have in dedicated web framework was a pain

- You have to add yourself complex features natively offered on forms. Especially history, complex filtering.

- On complex I/O (network/files manipulation) the engine was (naturally) lacking.

- Unity and probably Godot assume by default they are the main windows on screen, you can encounter problems about that if you use it as a 320x200 windows between 4 other windows.(that said if you considered electron you won't be in unknown territory ^^)

Re:Brian Bucklew Porting Caves of Qud from Unity to Godot by HideousKojima on Monday September 18, 2023 @02:26PM (#37560009)
I've done it a few times at my current job and it worked great for some simple UIs. Would probably work great for more complex stuff too but I haven't needed anything like that, I use it with C# as well.
Re:Brian Bucklew Porting Caves of Qud from Unity to Godot by raxxorraxor on Monday September 18, 2023 @10:42AM (#37556776)
That has once been true for Unity as well. People laughed about it being for gimmicky games that weren't too serious.

I think an engine today is about a lot more than rendering performance and quality. It is about the development pipeline, the tools it comes with and the interfaces to integrate assets and loading those. In that regard Unity offers a lot by now.

They also feature their asset store and whatnot. Of course it will take some time to develop such features for any new engine and it won't come to pass until it reaches a critical mass.