Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Entire forum
➜ MUSHclient
➜ Lua
➜ Fun with Text
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Pink Olifaunt
(11 posts) Bio
|
Date
| Thu 06 Mar 2008 02:03 AM (UTC) Amended on Thu 06 Mar 2008 02:06 AM (UTC) by Pink Olifaunt
|
Message
| Hello all,
I thought I'd release this little thing I've been dabbling with for a while in case anyone finds it useful. It's called TextMap and it's basically a bitmap for text. The idea is to be able to do the kind of text layout stuff you often need to do in a script: drawing tables and nicely formatted status reports and the like -- in a much less awkward way than the usual method of scan converting everything line by line.
TextMap is a Lua class that behaves much like an image class you'd expect to find in a graphics library. It can copy, paste, fill, draw lines and boxes, tile, draw gradients, and there's a simple lighting effect. When the image is finished you can convert it to plain text, ANSI, or MUSHclient's ColourNote format.
I've put up a very lame 3 minute webpage where you can download the script and a demo plugin that makes use of it, and there are some screenshots:
http://pink.olifaunt.googlepages.com/textmap
Any feedback and bug reports are welcome, and I'd be interested to see any pretty pictures anyone manages to make with it :)
|
http://pink.olifaunt.googlepages.com/home | Top |
|
Posted by
| Onoitsu2
USA (248 posts) Bio
|
Date
| Reply #1 on Thu 06 Mar 2008 08:50 AM (UTC) |
Message
| This looks quite interesting. If this things is easily used on the fly, one could make a mapper, or many other things even.
Nice job.
-Onoitsu2 | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
11,852 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top