Skip to reading
Lua Scripting

Choose where to begin

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
On this page

0.86.4.1 HOTFIX 1 / OPEN UPDATED WALKTHROUGH > PAGE 118

READER’S MAP

If this is your first script, start with the illustrated pages. If you already know Lua, jump straight to the PCA3D examples or the reference.

Follow the illustrated guide#

Read a Lua record and find it in the editor

Write, run and repair your first script

Learn variables, decisions, lists and loops

Understand game variables, buttons and player input

Respond to events and expose a function as a visual node

Use time and files, then check your target platform

Look up a particular subject#

All language lessons and reference chapters

Player input, timers, files, events and live game objects

Cross-language calls, visual nodes and native Godot controls

Choosing where to store a value and reading a return value

Event handlers, helper calls, action fields and property names

The W-numbered pages are the illustrated guide. The programming chapters keep their original page numbers. Tap an entry above or use the PDF bookmarks.

Lua scripting   /   Illustrated guide                                                          W02
Page 2 of 133Permalink
Go to page