Programming
The purpose of this document is to give everyone, interrested in LGCK, something to work with when developing event scripts.
Wrapper classes
Wrapper classes provide nice encapsulation of LGCK object for use in a scripting context. However, modifying wrapper properties (such as x, y or aim) will not modify the corresponding LGCK objects. You have to use the provided methods for that, such as :moveTo or :moveBy.
Conventions
semi-colons as marker for methods
Layer:getSize()
dots as marker for properties.
Sprite.x Sprite.aim
all caps for constants
UP DOWN LEFT RIGHT