Search icon CANCEL
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

Setting Up the Environment

Game development is becoming more accessible as game engines become more powerful. Tools and pipelines that were only available to big companies and wealthy individuals are now freely available to everyone with a computer. Anyone can feel the satisfaction of creating their own game and having others play it.

This is exactly what we are going to achieve in this book. We will go from knowing absolutely nothing about programming or developing games to creating our very first game and even a little beyond.

During the first part of this book, we will learn all about setting up Godot and programming. This might be a little more abstract, but I’ll try to give clear examples and keep you engaged with exercises and experiments you can do for yourself.

The second part of this book will be way more practical as we will dive neck-deep into creating our very own video game! We’ll learn how to use the Godot editor to create interesting game scenes and scenarios.

In the last part of this book, we’ll take our programming skills to the next level and learn all about advanced topics, such as more powerful concepts, programming patterns, the filesystem, and much more.

But before we get there, nothing is more satisfying than starting a new project! It represents a blank slate with endless possibilities. By the end of this chapter, we’ll have created our very own blank slate and written our first lines of code. But first, I’d like to take some time to introduce the Godot game engine and open-source software in general.

In this chapter, we’re going to cover the following main topics:

  • Godot Engine and open-source software
  • Downloading the engine from the official website
  • Creating our first project
  • How to join the community
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