Posted 03 August 2012 - 06:04 PM
Hello, This is a library for some useful function.
version 1.2
There are some documentation in it. Please note that the documentation is not really clear.
Please post any question related to the library here.
Features:
-Create text with alignment(or coordinate)
-Creating vertical/horizontal border with specified symbol
-Make a cinematic Screen Clearing!
-Wait function, same as sleep() (but for some reason sleep has somekind of time limit)
-Creating a menu! An example inside!(Please note this is not complete yet, still some bug but is useable)
-Get the longest string in an array
-Read a file,return string, lines(arrays)
-Save string or lines(arrays) to a file!
-Add a new line(string) or lines(arrays) to a file!
-Capitalize a string
Installation:
-Open modsComputerCraftluaromapis
-Copy & Paste the "cLib" into "apis"
Planned feature:
Scrolling menu and Vertical menu
Changelog:
-Added scrolling menu
-Added ajustable menu height, front and back symbol of selector
-Added capitalize functionv1.1:
-Added a round function
Programs that use this library:
-cSnake(1.2)
-Fileshare(1.0)
Download
Feel free to post any feedback!
Feel free to open the file and read documentation and learn or use!
Feel free to give reputation point if this library help you
version 1.2
There are some documentation in it. Please note that the documentation is not really clear.
Please post any question related to the library here.
Features:
Spoiler
-Key listener!-Create text with alignment(or coordinate)
-Creating vertical/horizontal border with specified symbol
-Make a cinematic Screen Clearing!
-Wait function, same as sleep() (but for some reason sleep has somekind of time limit)
-Creating a menu! An example inside!(
-Get the longest string in an array
-Read a file,return string, lines(arrays)
-Save string or lines(arrays) to a file!
-Add a new line(string) or lines(arrays) to a file!
-Capitalize a string
Installation:
Spoiler
-Download file, link below.(Rightclick, save file as)-Open modsComputerCraftluaromapis
-Copy & Paste the "cLib" into "apis"
Planned feature:
Spoiler
-Changelog:
Spoiler
v1.2:Spoiler
-Added getVersion() function for developer to make a compatibility for their program-Added scrolling menu
-Added ajustable menu height, front and back symbol of selector
-Added capitalize function
Spoiler
-Fixed key listener-Added a round function
Programs that use this library:
Spoiler
(Post a link to your programs thread and what version do you use!)-cSnake(1.2)
-Fileshare(1.0)
Download
Spoiler
Feel free to open the file and read documentation and learn or use!
Feel free to give reputation point if this library help you