Advertisement
Guest User

Untitled

a guest
Sep 13th, 2015
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.86 KB | None | 0 0
  1. local textblox = loadSharedAPI("textblox")
  2.  
  3. do
  4.     testFont = Font.create ("font_atascii.png", 8, 8, 0)
  5.     testFontx2 = Font.create ("font_atascii_x2.png", 16, 16, -1)
  6.    
  7.     local testString =  "<speed 0.02>...<pause 10><speed 0.125>What the butt did you just butting say about me,<pause 15> you <tremble><shake box>butting <shake box>buttswank?</tremble><pause 30><br><br><speed 1>I'll have you know I graduated <shake box>top of my butt in the <shake box>Navy Butts,<pause 10> and I've been involved in <shake box>numerous <shake box>secret <shake box>butts on <shake box>Al-Butta,<pause 10> and I have over <shake box>300 confirmed butts.<pause 20> I am trained in <shake box><wave>butt warfare</wave> and I'm the <shake box>top <shake box>butt in the <shake box>entire US <shake box>butt <shake box>butts.<pause 20>  <shake box>You are <shake box>butt to <shake box>butt but <shake box>butt butt <shake box>butt.<pause 20>  I will <shake box>butt you the <shake box>butt out with <shake box>butt the likes of which has <shake box>never butt seen buttfore <shake box>on <shake box>this <shake box>Earth,<pause 10><shake box><speed 0.5> mark <shake box>my <shake box>cheeky <shake box>words!"
  8.  
  9.    
  10.     local testProps = {}
  11.     testProps ["width"] = 500
  12.     testProps ["height"] = 350
  13.     testProps ["scaleMode"] = textblox.SCALE_AUTO
  14.     testProps ["bind"] = textblox.BIND_SCREEN
  15.     testProps ["textAlpha"] = 0.5
  16.     testProps ["textAnchorX"] = textblox.HALIGN_MID
  17.     testProps ["textAnchorY"] = textblox.VALIGN_MID
  18.     testProps ["boxAnchorX"] = textblox.HALIGN_MID
  19.     testProps ["boxAnchorY"] = textblox.VALIGN_MID
  20.     testProps ["boxColor"] = 0x999900AA
  21.     testProps ["boxType"] = textblox.BOXTYPE_MENU
  22.     testProps ["font"] = testFontx2
  23.     testProps ["speed"] = 1
  24.     testProps ["marginX"] = 4
  25.     testProps ["marginY"] = 4
  26.     testProps ["visible"] = true
  27.    
  28.     testBox = TextBlock.create (400, 250, testString, testProps)
  29.    
  30. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement