Introduction to
Godot
CHAPTER 1
LEARNING OUTCOMES
Learn what is Godot Engine.
Learn to install Godot on a PC.
Start a new project.
Familiarizing Godot’s Editor.
Learn the different User Interface of Godot.
Learn the use of Scenes and Nodes.
Learn Instancing and Scripting.
INTRODUCTION
Godot Engine is a feature-packed
Cross-platform from unified interface
Comprehensive set of common tools
Focus on making games
Can be exported:
Desktop platforms
Mobile
Web-based
What is Godot?
Free and open source under the permissive MIT license
uses drag-and-drop system for maintaining scene
elements
Built-in scripting system
Uses a custom Python-like language called GDScript
What is GDScript?
High level dynamically typed programming language
used to create content.
Uses syntax similar to Python
Its goal is to be optimized for and tightly integrated with
Godot Engine
Great flexibility for content creation and integration
Godot’s integrated scripting language
What is the difference?
Python is a general purpose language which can be used
for just about any type of project
GDScript is a “domain specific” language for use in a
particular development environment.
Installing Godot on a PC
Which platforms are supported by Godot?
For Editor:
• Windows
• MacOS
• X11 (Linux)
For exporting your games:
• Windows
• MacOS
• X11 (Linux
• Android
• iOS
• Web
Installing Godot on a PC
Here are the steps to Install Godot on your end.
Step 1: Open Web Browser(Chrome, Firefox or other browser)
Step 2: Go to https://godotengine.org
Installing Godot on a PC
Step 3: Click “Download”, and it will automatically detect your operating system
Installing Godot on a PC
Step 4: Choose version for development
Step 5: Download the File
Step 6: Go to the downloaded File and Extract it.
You can use WinRar or 7zip to extract the File
After extracting you will get this File
Installing Godot on a PC
Step 7: No need to install, just double click the file and you’re good to go.
Hello, Godot!
Project Manager
Create or import a project
Your first look at Godot’s Editor
The workspaces
Modify the interface
Move and resize docks
Godot’s Editor
Godot’s Editor
FileSystem dock – is where you’ll manage your project files and assets.
Godot’s Editor
Scene – lists the active scene’s content.
Inspector – allows for the management of the properties of a scene’s
content.
Godot’s Editor
Toolbar – where you’ll find tools to move, scale or lock your scene’s
objects.
Godot’s Editor
Bottom Panel – host for the debug console, the animation editor and the
audio mixer.
The Workspaces
2D – the 2D workspace is where you’ll build your interfaces, press F1 to
access it.
The Workspaces
3D – in the 3D workspace, you can work with meshes, lights and design
levels for 3D games, press F2 to access it.
The Workspaces
Script – is a complete code editor with a debugger, rich auto-completion,
and built-in code reference, press F3 to access it and Shift + F1 to search
the reference.
The Workspaces
The Workspaces
AssetLib – is a library of free and open source add-ons, scripts and assets
to use in your projects.
Modify the Interface
Godot's interface lives in a single window. You cannot split it across
multiple screens although you can work with an external code editor like
Atom or Visual Studio Code for instance.
Move and resize docks
Click and drag on the edge of any dock or panel to resize it horizontally or
vertically.
Click the three-dotted icon at the top of any dock to change its location.
Move and resize docks
Go to Editor menu and Editor Settings to fine-tune the look and feel of the
editor.
TO BE
CONTINUED..