More and more developers are embracing Godot as their game engine of choice. Unity still holds the largest market share, but Godot is catching up fast. As a game developer, you should make yourself familiar with more than one game engine. Doing so will give you more insight into the strengths and weaknesses of each and help you make the best decision for your game. Itâs also good to have a fallback as having all your eggs in one basket wonât do you any favors. Especially if one of those eggs starts to smell a bit⦠off.With that in mind, I want to share my experience with migrating to Godot after using Unity for years.
Why Godot?
Godot is a great choice for game development because itâs easy to learn and use while being free and open source. The game engine has a rich feature set and is constantly evolving. With Godot 4, the game engineâs 3D capabilities were massively improved. The scripting language, GDScript, also got an overhaul and is now more performant than ever.
The biggest strength and weakness of Godot is that its development is fully community-driven. This means that the engine has daily improvements and bug fixes made possible by developers from around the world. However, it also means that thereâs no company steering it; you can request features and bug fixes via GitHub, but thereâs no guarantee that theyâll be implemented. On the flip side, if youâre a developer looking to be part of the Godot community, youâll have a lot of opportunities to do so by contributing code. You can also recompile the engine yourself to get features that arenât available in the official release yet.
In terms of maturity, Unity is the clear winner. Unity has been around for almost ten years longer than Godot and comes packed with tons of bells and whistles. Godot is still in its infancy, but itâs already making waves in the game development community. If youâre an indie game developer, part of a small studio or simply prefer a free and open ecosystem, you should give Godot a chance.
Alright, time to get started! In the sections below, I want to make you more familiar with Godot by comparing it to Unity.
User Interface and Files
Both Godot and Unity have an editor to work with the objects and files to create your game. Iâll start off with an overview of where they are alike and how they differ.
Editor
Compared to Unity, Godotâs editor is a lot more lightweight and portable. It weighs in at around 100MB and doesnât need any extra dependencies. You can even run the editor on mobile devices and the web. Unityâs editor with the minimal features is around 5GB in size, so around 50 times larger. This is because Unity comes with a ton of packages pre-installed so you donât have to download those later on.
Creating a new project in Unity and Godot is similar, in both cases you get presented with a wizard to choose between some presets. A big difference between the two engines is that Godot creates and opens the project in mere seconds, while Unity takes quite a bit longer.
Both game engines also come with a way of starting with a template project. Unity provides templates in the form of learning templates while Godot has demos to choose from via the Asset Library. If youâre the kind of person who likes to dig around projects to learn how they work, this is a great feature.
Once you have a project open, both editors share some similarities.
Hereâs an overview of Unityâs views and Godotâs panels and docks:
Hierarchy window vs. Scene dock: In Unity, the Hierarchy provides an overview of the GameObjects in the opened scene. Conversely, Godot uses a node system to present a tree of nodes in its Scene dock. Iâll explain the difference between GameObjects and nodes further down.
Scene view vs. Viewport: The Scene view serves as a visual representation of your scene, allowing interaction with GameObjects. In Godot, the Viewport fulfills a similar role by visualizing nodes. In both engines, gizmos are available to manipulate the selected GameObject or node, enabling actions like movement, rotation, and scaling.
Project view vs. FileSystem dock: Unity uses its Project view to show project files and folders, while Godot uses the File System dock for the same purpose.
Inspector vs. Inspector: Both game engines have an Inspector window to view and edit the properties of the selected GameObject/Node. Unity does this by showing the components, while Godot presents the properties of a single node.
Play buttons vs. Playtest buttons: Both Unity and Godot use buttons to start, pause, and halt game execution.
With a better understanding of the editor similarities in broad strokes, you can move on to the asset management.
Assets
Both Unity and Godot offer support for a wide range of popular file formats for images, audio, and 3D models, making them versatile choices for game development.
In Unity, itâs important to organize all your files and folders within the designated Assets folder. In contrast, Godot provides greater flexibility by allowing you to place files anywhere within the project folder. To maintain a well-organized project in both engines, I recommend creating a structured folder hierarchy that groups similar file types together.
When dealing with images, sprites, and textures, both Unity and Godot support widely-used formats such as BMP, PNG, JPG, and TGA. Unity goes a step further, accommodating formats like PSD, GIF, and TIFF, whereas Godot includes native support for SVG and WEBP. Furthermore, both engines offer the capability to extend their format support through plugins.
Regarding audio files, Godot offers compatibility with WAV, Ogg Vorbis, and MP3. Unity shares these formats with Godot and expands the list to include AIF, MOD, IT, S3M, and XM. Unity employs format conversion during audio file import, whereas Godot typically loads audio files in their original format. For optimal performance, Godotâs documentation recommends using WAV for short sound effects and Ogg Vorbis for longer audio, noting that MP3 may result in higher CPU usage during playback. If you have audio files in less common formats, you may need to convert them to a supported format for use in Godot.
Both Unity and Godot offer support for various 3D model formats, including OBJ and DAE. While Unity often favors FBX as a recommended format in its documentation, Godot leans towards the glTF 2.0 format for 3D models. Both engines also accept Blenderâs .blend files, although exporting to other compatible formats is generally recommended. While Godot can work with FBX files, itâs best to convert them to glTF 2.0 for improved compatibility.
Itâs worth noting that Godot features an Asset Library similar to Unityâs Asset Store, but with a focus on free and open-source assets.
The Godot team has plans to introduce a store for paid assets in the future. If your revenue depends on the Unity Asset Store, sticking with Unity may be preferable for now. However, if youâre creating free assets, contributing to Godotâs community will surely be appreciated.
Next up, Iâll dive into more details about the core systems of each engine.