Table of Contents
Preface
Part 1: Learning How to Program
1
Setting Up the Environment
Technical requirements
Godot game engine and open-source software
Some background on the engine
What is open-source software?
Getting and preparing Godot
Downloading the engine
Creating a new project
Light mode
Creating the main scene
A brief UI overview
Writing our first script
The Godot Engine Documentation
Join our community!
Summary
Quiz time
2
Getting Familiar with Variables and Control Flow
Technical requirements
What are variables?
Variables – Drawers in a filing cabinet full of data
Naming variables
Variables in GDScript
Printing out variables
Changing a variable’s value
Mathematical operators
Other assignment operators
Data types – Integers, floats, ...
Get Learning GDScript by Developing a Game with Godot 4 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.