Skip to content

Instantly share code, notes, and snippets.

@z16
Created June 20, 2013 08:03
Show Gist options
  • Save z16/5821021 to your computer and use it in GitHub Desktop.
Save z16/5821021 to your computer and use it in GitHub Desktop.
This is the structure of the settings for the texts library.
settings = {}
settings.pos = {}
settings.pos.x = 0
settings.pos.y = 0
settings.bg = {}
settings.bg.alpha = 255
settings.bg.red = 0
settings.bg.green = 0
settings.bg.blue = 0
settings.visible = false
settings.text = {}
settings.text.size = 12
settings.text.font = 'Arial'
settings.text.alpha = 255
settings.text.red = 255
settings.text.green = 255
settings.text.blue = 255
settings.text.content = ''
settings.padding = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment