This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Drikdrok's profile picture

preText

Started by Drikdrok, 08 August 2014 - 09:35 AM
Drikdrok #1
Posted 08 August 2014 - 11:35 AM
Hi im drikdrok! This is my first post on the CC forums and im looking forward to posting more. But enough about me. What does this api do? well its a very small api. (2 commands) And is made for people making Text-Based games/OS' (Im making an OS :P/>) The simple job it does is drawing lines and boxes with text! So you don't need to test how many "-" you need to write to make a full line, hope you will enjoy :D/>.
pastebin: "pastebin get u14hpNr8" commands:" preText.straightL()" – creates a straight line perfect for a computer. And "preText.box()" – creates a box I might update this but it was mostly just a test
Edited on 09 August 2014 - 06:24 AM
newcat #2
Posted 08 August 2014 - 06:55 PM
Cool! Maybe you can implement an option to specify the width / height of the box and the width of the line.