Difference between revisions of "TLTools"

m (Updated TLibCompress to work around a bug. Removed warning.)
m (Fixed layout mishap)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==TSerial==
+
[[File:TLtools_logo.png]]
Converts tables into strings. That way you can save tables to files, or send them across a network. Currently supports tables with keys that are strings, numbers, or booleans, and values that are strings, numbers, tables, or booleans. Functions, userdata, and circular references aren't supported.
 
* ''TSerial.pack(table)'' returns a string representation of a table. The string is, in fact, Lua code.
 
* ''TSerial.unpack(string)'' returns a recreation of the serialized table.
 
  
[http://dl.dropbox.com/u/3713769/web/Love/TLTools/TSerial.lua Download]  
+
TLtools is a collection of high-quality libraries made by [[User:Taehl|Taehl]]:
 +
{{#ask: [[Category:Libraries]] [[Author::User:Taehl]]
 +
| headers=hide
 +
| ?Description
 +
}}
  
 +
=Outdated=
 
==TLibCompress==
 
==TLibCompress==
 
Can zip and unzip strings, reducing their size. A good way to save bandwidth when sending strings across a network.
 
Can zip and unzip strings, reducing their size. A good way to save bandwidth when sending strings across a network.
 
* ''TLibCompress.CompressLZW(string)'' returns a zipped string
 
* ''TLibCompress.CompressLZW(string)'' returns a zipped string
* ''TLibCompress.UncompressLZW(string)'' returns an unzipped version of a zipped string
+
* ''TLibCompress.DecompressLZW(string)'' returns an unzipped version of a zipped string
  
 
[http://dl.dropbox.com/u/3713769/web/Love/TLTools/TLibCompress.lua Download]
 
[http://dl.dropbox.com/u/3713769/web/Love/TLTools/TLibCompress.lua Download]
Line 15: Line 17:
  
 
{{#set:LOVE Version=Any}}
 
{{#set:LOVE Version=Any}}
{{#set:Description=[[Serialization]] and [[Compression]] tools written in pure Lua}}
+
{{#set:Description=High-quality libraries for a range of purposes}}
 
{{#set:License=ZLIB license}}
 
{{#set:License=ZLIB license}}
 
{{#set:Author=User:Taehl}}
 
{{#set:Author=User:Taehl}}
[[Category:Libraries]]
 

Latest revision as of 01:43, 2 August 2013

TLtools logo.png

TLtools is a collection of high-quality libraries made by Taehl:

TEsoundA sound manager that makes it easy to use sound and music
TEsound (Español)Un administrador de sonido que hace más fácil usar sonido y música
TLbindA simple system for creating professional control schemes
TLfresLets games run at any resolution, easily and without stretching
TLpathAdd A* pathfinding to games
TserialConverts tables into strings and back. Good for saving games, multiplayer, etc.

Outdated

TLibCompress

Can zip and unzip strings, reducing their size. A good way to save bandwidth when sending strings across a network.

  • TLibCompress.CompressLZW(string) returns a zipped string
  • TLibCompress.DecompressLZW(string) returns an unzipped version of a zipped string

Download