Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning GDScript by Developing a Game with Godot 4

You're reading from   Learning GDScript by Developing a Game with Godot 4 A fun introduction to programming in GDScript 2.0 and game development using the Godot Engine

Arrow left icon
Product type Paperback
Published in May 2024
Publisher Packt
ISBN-13 9781804616987
Length 378 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Sander Vanhove Sander Vanhove
Author Profile Icon Sander Vanhove
Sander Vanhove
Arrow right icon
View More author details
Toc

Table of Contents (22) Chapters Close

Preface 1. Part 1:Learning How to Program
2. Chapter 1: Setting Up the Environment FREE CHAPTER 3. Chapter 2: Getting Familiar with Variables and Control Flow 4. Chapter 3: Grouping Information in Arrays, Loops, and Dictionaries 5. Chapter 4: Bringing Structure with Methods and Classes 6. Chapter 5: How and Why to Keep Your Code Clean 7. Part 2: Making a Game in Godot Engine
8. Chapter 6: Creating a World of Your Own in Godot 9. Chapter 7: Making the Character Move 10. Chapter 8: Splitting and Reusing Scenes 11. Chapter 9: Cameras, Collisions, and Collectibles 12. Chapter 10: Creating Menus, Making Enemies, and Using Autoloads 13. Chapter 11: Playing Together with Multiplayer 14. Part 3: Deepening Our Knowledge
15. Chapter 12: Exporting to Multiple Platforms 16. Chapter 13: OOP Continued and Advanced Topics 17. Chapter 14: Advanced Programming Patterns 18. Chapter 15: Using the File System 19. Chapter 16: What Next? 20. Index 21. Other Books You May Enjoy

Godot game engine and open-source software

We’ll be using the Godot game engine, which I presume you already know exists as this is a book specifically about that engine. But let me give you some more insight into its history and what open-source means.

Some background on the engine

Godot Engine is a piece of open-source software that lets people from all experience levels and walks of life create games. The project was started in 2007 by Juan Linietsky and Ariel Manzur as an in-house engine for several Argentinian game studios. In late 2014, the engine got open-sourced, giving everyone free access to the code. Since then, it has gained lots of traction and is currently one of the most used game engines on the market. Many commercial games have been released or are under development using the engine. Examples of released games are Brotato, Dome Keeper, Case of the Golden Idol, and Cassette Beasts.

For those of you wondering, yes, the engine is named after the theatrical piece Waiting for Godot, by Samuel Beckett. This choice of name is because people will always be waiting for the next version or new feature, resulting in an endless cycle of waiting.

While on the topic of the engine’s name, let’s also get the pronunciation out of the way. In short, there is no standard way of pronouncing Godot. Because of the association with the play’s title, which is written in French, some people say it should be “go-do,” without emphasis on any syllable. But most English speakers would say “GOH-doh” and stress the first syllable. Then, there is the stream of people that pronounce it “go-DOT,” mainly because it sounds similar to the word “robot” and the engine’s logo is a blue robot. But I notice that I say Godot differently each time. So, to cut a long story short, pronounce it however you like. Just use roughly the same letters.

What is open-source software?

As mentioned earlier, Godot is open-source, meaning the engine’s source code is freely available. Because everyone has access, people can alter this code to their liking. Once they have tweaked enough parameters or developed a new feature, they can ask the creator of the software to include these tweaks or features in the original project. The creator will then review what the other person has done, alter it a bit if needed, and then add it to the code of the original software. This process creates a virtuous circle that results in a win-win situation for everyone:

  • The software’s creator can grow the code faster because everyone chips in
  • People with technical knowledge can add the features they miss, making it fit their needs
  • The end user gets a much better and more stable end product

But not every open-source project is created equal. Each free open-source software (FOSS) comes with its respective license. This license dictates how you can or should use the software. Some of these are pretty restrictive, but in the case of Godot Engine, we are in luck: we can do anything without significant restrictions. We only have to attribute the creators on the credit page of our games.

Alright – we know what Godot Engine is, how to pronounce its name (or not), and why FOSS is so awesome. Let’s dive right into preparing our development environment!

You have been reading a chapter from
Learning GDScript by Developing a Game with Godot 4
Published in: May 2024
Publisher: Packt
ISBN-13: 9781804616987
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime