Skip to reading
New Features Workbook: 35 Hands-on Lessons

Scripting, debugging and delivery

Edition 0.86.4.7

37-page workbook using example workbenches included with the Studio release. The separately attached PDF is byte-identical to this ZIP copy and is included once.

Download PDFView PDF page
On this page

New features workbook

Try the script examples in a project copy. Each exercise ends with an observable result you can check in the editor or Runner.

Expose functions to designers#

Source table from Scripting, debugging and delivery, page 2
LessonPage
Expose a reviewed function to designers24
Review a PCA Script declaration25
Review a Lua declaration26
Review a BASIC declaration27
Review a GDScript declaration28

Debug, measure and deliver#

Source table from Scripting, debugging and delivery, page 2
LessonPage
Follow a fault from the GUI to the script29
Pause a Lua function on a line30
Pause a BASIC function on a line31
Pause a GDScript function on a line32
Save a repeatable script test33
Measure a scene on the device that runs it34
Review an older project before saving it35
Retest the letter puzzle after a save36
Check the game data in a desktop build37

Opening the sample projects#

In Studio, use File → Open Project. In the extracted Studio release, open examples/workbenches. Rotary-Workbench.pca3d has the phone and ticket gate. Clock-and-Debugging.pca3d has the geared clock and script tests. Instrument-Room.pca3d has the alarm, pressure gauge and porter.

PCA 3D / Studio 0.86.4.6 and 0.86.4.7

Page 2 of 37Permalink
Go to page