Controller options

barryvan edited this page Oct 27, 2011 · 1 revision
Clone this wiki locally

background The background colour. This will be applied to the whole canvas each frame; adding an alpha channel generally produces a more aesthetically-pleasing result.

meta.visible If truthy, draw the meta information block.

meta.vertical The vertical position of the meta information block. If negative, this is the distance from the bottom edge; otherwise, it's the distance from the top edge.

meta.horizontal The horizontal position of the meta information block. If negative, this is the distance from the right edge; otherwise, it's the distance from the left edge.

meta.colour The colour of the text in the meta block (and the "Click to play" message).

meta.background The background colour of the meta block.

meta.padding The number of pixels of padding to include in the block.