- Building games on Linux with Godot Engine
- What is Godot Engine?
- Godot Engine Features
- Install Godot Engine
- Install Godot engine, with system integration and version manager in Ubuntu
- How to Develop a Game on Linux
- Why Develop a Game on Linux?
- Getting Started with Game Development on Linux
- Unity
- Godot
- RPG Maker
- Ren’Py
- Twine
- Conclusion
- About the author
- David Morelo
Building games on Linux with Godot Engine
Most of the users of technology are also passionate about games, to that passion, many of us add programming. But many of us set ourselves a real goal, which is to create our own games, which is why free software developers have taken on the task of creating Godot Engine.
This powerful tool helps us create games on Linux, which can be deployed in any operating system, using free tools.
What is Godot Engine?
It is an application of open source y multi platform, which has advanced features for the 2D and 3D game development. Godot Engine brings together a series of powerful tools specialized in the creation of games, which gives us the opportunity to create games on Linux without having the need to reinvent the wheel.
Godot source code can be viewed and cloned here, it is provided under the very permissive terms of the MIT License. It is also totally free and you do not require any type of royalties.
Godot Engine Features
- Excellent visual editor, with a large number of tools, added to a clean and orderly interface.
- Live game edition for both PC and mobile.
- 2D and 3D editing capabilities.
- Fully dedicated 2D engine.
- Flexible kinematic driver for collision without the physics.
- Importer of 3D models from 3DS Max, Maya, Blende, and others, including all animations.
- Various types of light, with shadow assignment.
- It allows all kinds of 2D and 3D animation, thanks to its powerful visual animation editor with timeline.
- Allows Add behavior to objects with built-in scripts.
- Godot works on Linux, Windows, OS X, FreeBSD, OpenBSD and Haiku, it runs in 32-bit and 64-bit, on all platforms.
- It allows you to deploy games on various platforms easily and quickly, the most important are
- It is a tool designed and created to be collaborative, so it has the ability to integrate with popular version control systems (Git, Subversion, Mercurial, PlasticSCM,…).
- It allows you to create scene instances, which makes teamwork faster and more efficient, since each member of the team can focus on their own scene. Regardless of whether it is a character, the stage, etc . That is, it is allowed to edit without stepping on the feet of others.
- Totally free and free.
Install Godot Engine
You can download the installation files from the following link:
You can also download a series of samples and demos from here..
Install Godot engine, with system integration and version manager in Ubuntu
Niklas Rosenqvist has created a BASH script that downloads and integrates the Godot engine to Ubuntu. It also allows version management and installs git master.
To download and run the script, open a console and enter the following command:
git clone https://github.com/nsrosenqvist/godot-wrapper.git godot && cd it gets && ./godot install
This script will configure your Godot Engine automatically. See all the features the script provides by running godot help .
An excellent tool that we should try and learn to use, especially to create more and better Linux-compatible games.
The content of the article adheres to our principles of editorial ethics. To report an error click here.
Full path to article: From Linux » GNU / Linux » Building games on Linux with Godot Engine
How to Develop a Game on Linux
A decade ago, not many Linux users would predict that their favorite operating system would one day be a popular gaming platform for commercial video games. However, that day has come, and with it a growing interest in Linux game development.
This article is aimed at Linux users who would like to become game developers but don’t know where to start, introducing some of the most popular game engines that Linux game developers can use to turn their ideas into full-fledged games compatible with major operating systems—not just Linux.
Why Develop a Game on Linux?
If you’re a long-term Linux user, you can answer this question easily since it makes sense to develop a game on an operating system you use on a daily basis. But even if your experience with Linux is limited, there are several reasons why it’s the right choice for aspiring game developers:
- It’s free and open-source: When developing a game on Linux, you don’t need to worry about licensing and software fees. The operating system is free and open-source, and so are the applications that ship with it.
- Low-level control: Linux lets you fully customize how it looks, feels, and works. If there’s something bothering you about your distribution of choice, you can simply change it and be as productive as possible.
- Helpful community: The Linux community is made up of geeks and enthusiastic hobbyists who are always willing to lend a helping hand. Many Linux users have interest in programming and game development, so you’re always guaranteed to find someone knowledgeable willing to help you.
- Native programming tools: Included in most Linux distributions is the GNU toolchain, which provides a set of native programming tools for software development. Additional development tools and libraries can be easily installed using a package manager.
- Low system resource requirements: There are many Linux distributions with low system resource requirements. Such distributions make it possible to develop games even on aging computers that would struggle to run Windows or macOS.
Getting Started with Game Development on Linux
As a game developer, you can take two different approaches when developing a game: build everything from scratch or use existing development tools and resources to build the framework of your game.
If you’re reading this article, it means that you have limited or no experience with game development. In that case, we highly recommend you choose the latter approach and pick one of the five game engines listed below.
A game engine provides the necessary set of features to allow you to build games quickly and efficiently. It takes care of everything from physics to input to scripting and artificial intelligence, so you can spend more time creating your game and less time reinventing the wheel. |
There are dozens of game engines for Linux, each offering different features and technologies. Let’s take a look at five popular Linux game engines that you can use to create anything from a 3D shooter to a text adventure.
Unity
Suitable for making: 3D & 2D games of all genres
Unity is the most popular game engine in the world. It works on Linux, Windows, and macOS, and you can use it to create 2D and 3D multiplatform games. Some of the most popular games made with Unity include Escape from Tarkov, Monument Valley, Hollow Knight, and Cuphead.
The main programming language supported by Unity is C#, which was developed by Microsoft as a general-purpose, multi-paradigm programming language. Most Linux developers who use Unity write code in Visual Studio Code (VS Code).
Because of how immensely powerful Unity is, getting started with it can be a challenge. Fortunately, there’s a wealth of learning resources available online, including YouTube video courses and community tutorials.
Godot
Suitable for making: 3D & 2D games of all genres
Godot is a versatile open-source game engine suitable for making both 3D and 2D games. It was first released in 2014, and it has already been used to create several popular games, including Project Kat, Genomix, Ludum Creare, Lurking in the Dark, and Keep IT Fed.
Because Godot is completely free and open-source, licensed under the permissive MIT license, you don’t need to worry about royalties or subscription fees. Even if you use it to create a hit AAA game, your creation will be 100% yours to the last line of code.
To get started with Godot, we recommend you read the official documentation, which is available in multiple languages. The getting started section provides a novice-friendly introduction to all important concepts.
RPG Maker
Suitable for making: role-playing games
If you love role-playing games (especially old-school JRPGs like The Legend of Zelda or Final Fantasy) and would like to create your own, RPG Maker is an excellent game engine for the task. This engine was created specifically to simplify the development of RPGs by handling everything from crafting to inventory management to quests.
There’s a chance that you’ve played at least one RPG made with RPG Maker, such as To the Moon, Finding Paradise, Corpse Party, LISA, or Skyborn. The latest version of this game engine, RPG Maker MV, runs flawlessly on Linux, and you can even download it through Stream.
If you decide to create a game in RPG Maker, you may want to purchase professionally designed tilesets, characters, animations, and music from the RPG Maker online store. Of course, you can also create everything yourself and give your RPG a unique look.
Ren’Py
Suitable for making: visual novels
Ren’Py is a game engine for visual novels. It was used to make games like Doki Doki Literature Club!, Analogue: A Hate Story, Long Live the Queen, Dissolving, and Butterfly Soup. Games made with Ren’Py combine an engaging story with captivating visuals to create games that place storytelling above gameplay.
Ren’Py supports its own scripting language as well as Python scripts, and you can freely combine them to create everything from branching stories to complex simulation games. The quickstart does a great job of walking new Ren’Py users through the process of creating a simple game, so make sure to check it out.
Twine
Suitable for making: text adventures
Twine is an open-source game engine for interactive stories. To create a game with this engine, you don’t need to write any code whatsoever. All you need is an idea for a story and the ability to tell it in a captivating way.
That said, Twine games can be extended with variables, conditional logic, images, CSS, and even JavaScript, so you really have nearly limitless creative options. Another thing that’s great about Twine is the fact that the games created with it are published directly to HTML and playable in any modern web browser.
Conclusion
Developing a game on Linux isn’t any more difficult than developing a game on Windows or macOS. In fact, Linux users benefit from easy access to countless native and third-party programming tools, most of which are free and open-source. To embark on your own Linux game development journey, all you need to do is pick a suitable engine and let your creativity flow. Some Linux game engines require no programming skills whatsoever, allowing anyone to experience the magic of game development without having to first spend hundreds of hours buried in books.
About the author
David Morelo
David Morelo is a professional content writer in the technology niche, covering everything from consumer products to emerging technologies and their cross-industry application