Skip to main content

Scripting

Script Editor

Installation

To start scripting on Polytoria you will need to setup a code editor. Our recommended code editor is Visual Studio Code which can be installed at https://code.visualstudio.com/download

note

Visual Studio Code runs on Windows, Linux and Mac.

Plugins

We also recommend a set of plugins to help you format your code, and receive tab completion while coding

Polytoria IntelliSense is an extension developed by us. It includes all classes of Polytoria allowing you to use tab complete features of the engine API. You can also select your place file when using the extension to get full access to all your game objects and their properties.

If you are interested, you can also learn about TypeChecking using Polytoria IntelliSense.

warning

Lua and StyLua are not maintained or developed by us. While we do use them, you are responsible for your own usage and safety.