Advertisement
lavalevel

My Simple TextBox

Oct 24th, 2012
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.68 KB | None | 0 0
  1. textBox = native.newTextBox( 15, 298, 280, 120 )
  2.         textBox.font = native.newFont( "Dispando", 8 / display.contentScaleX  )
  3.         textBox:setTextColor( 200, 0, 0, 255 )
  4.         textBox.isEditable = false
  5.         textBox.align = "left"
  6.         -- Add some test text.
  7.         textBox.text = ("Deep in the Forests lies our desecrated Sepulchre.  There you shall face hordes of vile undead. Rumor is, they are controlled by a powerful Necromancer. Will you face him?")
  8.         -- textBox.text = ( rosetta:getString( rosetta:getString( (currentMap.mapTalk[whatToSay].page[pageNum].Line1)  ) ) )
  9.  
  10. --      print ("THIS THING:" .. QuestLordQuests[ (playerData.playerQuests[self.id]) ].QuestDescription)
  11.         textBox.hasBackground = false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement