Texter

  • mniip
    11th Aug 2012 Developer 2 Permalink
    @PacBrad (View Post)
    1) Youre an idiot
    2) Lua is not an abbreviation, dont write it uppercase
    3) there are countless manuals on doing this
  • Sparkette
    17th Nov 2012 Member 0 Permalink

    @PacBrad (View Post)

    Just put them inside the folder where TPT is, and then open the console (~) and type dofile("filename.lua")

     

    Also, I think the download links are broken.

  • boxmein
    17th Nov 2012 Former Staff 0 Permalink
    @flarn2006 (View Post)
    Massive not-a-necrobump! :)

    anyways.
    For anyone feeling bad about the broken download links,
    here's an older version which also supports writing multiple lines of text and also it remembers your last used element!
    [Pastebin]
    To use the multi-line text writing function, write it like this:
    Tlines(startx, starty, "line 1", "line 2", "line 3", "line 4", ...)
    startx: The amount of pixels from the left edge
    starty: The amount of pixels from the top edge.
    -- Get these values by pressing D and then looking at the X,Y values on the right edge of the stage.
    lines: Every line of text.
    -- NOTES:
    -- The function will fail if there are too many lines so they will run off the screen.
    -- Every line needs to be inside quotes (single or double, quote marks inside strings will need to be escaped like \" or \' )
    -- Every line will need to be separated by a comma.
    -- Every line will have an 1px gap in between each other.
    -- The function automatically uses the last used element. To change that, use the regular T function like this:
    -- T(x, y, "text", "bhol") -- This makes bhol the used element.

  • mniip
    17th Nov 2012 Developer 0 Permalink
    why not just detect \n ?
  • baizuo
    19th Dec 2012 Member 0 Permalink

    Bump, now with multiple line support, character and line spacing support, hotkey&GUI,  auto font search and others, check the OP, have fun

  • Box-Poorsoft
    20th Dec 2012 Banned 0 Permalink
    This post is hidden because the user is banned
  • Spock
    20th Dec 2012 Member 0 Permalink
    Don't know why, but bump.