WikiReferenceScripting

Scripting Reference

All the functions & constants made available by CraftStudio for your scripts.


Scripting language

CraftStudio scripts are powered by Lua, a powerful, fast and lightweight programming language.


Script API versioning

Rarely, new versions of CraftStudio might break backwards compatibility in scripts. When such breaking changes happen, they are documented in the API Versioning page.


Global CraftStudio functions & constants

CraftStudio, Input, Storage, Screen, Audio, Physics, Network, Web


Working with game objects


Assets

Map, TileSet, Sound


Math

Vector3, Quaternion, Ray, Plane and Miscellaneous math functions

Wiki licensed under CC BY-SA 3.0.

What the press says...

A genuinely cute, well made game-making tool
Craig Pearson — Rock Paper Shotgun

Sounds like fun?

9 MB — Windows, OS X, Linux
Pretty damn neat [...] Good things usually happen when you give PC gamers new tools to express their creativity, so keep an eye on this one.
Tyler Wilde — PC Gamer