Layer Variables

int layer.visible[layer];
int layer.lucent[layer];
int layer.parallaxx[layer], layer.parallaxy[layer];
int layer.w[layer], layer.h[layer];

layer.visible - Toggles visibility of a layer. [0/1].

layer.lucent - Sets the lucency value of a layer. Just as with lucent blits, 100 is completely transparent and 0 is fully opaque.

layer.parallaxx, layer.parallaxy - Affects the parallax settings of layer. In 16.16 fixed point notation.

layer.w, layer.h - Gets the width and height of a specific layer in tiles.

Talkback

There are no talkbacks on this documentation page yet. Post the first?

Post a new comment?

Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.