Skip to reading
GDScript Programming & Godot

1. GDScript inside PCA 3D

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView PDF page

GDScript is Godot’s own programming language. In PCA 3D, you can use it both for ordinary adventure logic and for work that needs Godot classes directly. A short script can unlock a door; a larger one can create nodes, connect signals, load resources or manage a custom interface.

This guide uses PCA 3D Adventure Studio 0.86.3.4 running Godot 4.7.2. It applies on Windows, macOS and Linux. The editor screenshots are actual captures. The source examples use Godot 4 syntax, which differs from older Godot 3 tutorials.

There are two related APIs to learn. GDScript supplies the language and Godot classes. PCA’s script base adds record registries, gameplay actions and helpers. Function names are case-sensitive: Godot’s print() and PCA’s Log() are different functions.

Source table from 1. GDScript inside PCA 3D, page 9
GoalWhere to begin
Learn the languageChapters 2-21
Write adventure logicChapters 22-32
Use Godot functionalityChapters 33-49
Share functions and distribute a gameChapters 50-55
Look up a PCA action, helper or recordThe reference sections and alphabetical index

The book covers every normal PCA gameplay wrapper and public adventure helper in this build. Godot itself has a much larger class library. The Godot chapters teach the access patterns and common classes, with links to the official class reference for the rest.

Page 9 of 378Permalink
Go to page