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
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.
- Lua - Receive tab complete and debugger for the Lua
- StyLua - Format your Lua code when you save your file
- Polytoria IntelliSense - Get access to all classes and your game tree
Lua and StyLua are not maintained or developed by us. While we do use them, you are responsible for your own usage and safety.