Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local textblox = loadSharedAPI("textblox")
- do
- testFont = Font.create ("font_atascii.png", 8, 8, 0)
- testFontx2 = Font.create ("font_atascii_x2.png", 16, 16, -1)
- 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!"
- local testProps = {}
- testProps ["width"] = 500
- testProps ["height"] = 350
- testProps ["scaleMode"] = textblox.SCALE_AUTO
- testProps ["bind"] = textblox.BIND_SCREEN
- testProps ["textAlpha"] = 0.5
- testProps ["textAnchorX"] = textblox.HALIGN_MID
- testProps ["textAnchorY"] = textblox.VALIGN_MID
- testProps ["boxAnchorX"] = textblox.HALIGN_MID
- testProps ["boxAnchorY"] = textblox.VALIGN_MID
- testProps ["boxColor"] = 0x999900AA
- testProps ["boxType"] = textblox.BOXTYPE_MENU
- testProps ["font"] = testFontx2
- testProps ["speed"] = 1
- testProps ["marginX"] = 4
- testProps ["marginY"] = 4
- testProps ["visible"] = true
- testBox = TextBlock.create (400, 250, testString, testProps)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement