Skip to reading
BASIC Scripting

Use the guide across builds

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

DESK REFERENCE

The same BASIC source lives inside the PCA3D game project. The screenshots show PCA3D 0.86.3.4 on Linux. Use the control names when your theme, language or screen layout differs.

Source table from Use the guide across builds, page 32
PCA3D versionsPCA3D BASIC 1.0 arrived in PCA3D 0.40.0. An earlier editor needs a BASIC-capable release to open the BASIC workspace. Functions as Nodes arrived in 0.81.0. Later actions and fields depend on your installed build.
Windows, macOS and LinuxUse the editor’s named controls. File examples use user:// so the engine chooses the right data folder. Generated games include the BASIC frontend and shared runtime.
Touch and smaller screensTap the controls named in the screenshots and scroll the workspace or Inspector if necessary. Use a visible submit button so keyboard, touch and pointer users have a clear way to send text.
Mobile and web exportsUse the export tools offered by your edition. Test GUI focus, the on-screen keyboard and a save/load round trip on the intended device. A browser’s storage lifetime also depends on the browser and session.

Coming from an older BASIC?#

Use named functions in place of numbered lines and GOTO. Read player input through a GUI or game event. Return a value from a function to pass an answer back. Use a GDScript helper for native engine work. These are the entry points PCA3D provides.

Page 32 of 86Permalink
Go to page