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

[Lua][Question] How to you change the Font Size?

Started by fredghostkyle, 14 October 2012 - 01:20 PM
fredghostkyle #1
Posted 14 October 2012 - 03:20 PM
Hi there, i'm new to this comunity and would like a little help with Monitors, and there Font size! i have figured out print but thats about it. Any help with monitors would greatly be apreciated.

I have found the Wiki for this is be full of information but i can't fund what i am looking for.
JoshhT #2
Posted 14 October 2012 - 03:27 PM

mon = peripheral.wrap("top") -- The direction where your monitor is connected.
mon.setTextScale(2.5) -- Any number between 1.0 and 5.0, increasing by 0.5 each time.
sjele #3
Posted 14 October 2012 - 03:28 PM

local mon = periperal.wrap("side")
mon.setTextScale(n) -- n must be a number from 1-5

Ninja'd
Sammich Lord #4
Posted 15 October 2012 - 03:16 AM

local mon = periperal.wrap("side")
mon.setTextScale(n) -- n must be a number from 1-5

Ninja'd
You can actually use 0.5 as a font size. I am using it along with advanced monitors for VERY small pixels.
remiX #5
Posted 15 October 2012 - 01:48 PM
Can you use 0.1?
sjele #6
Posted 15 October 2012 - 02:07 PM
You may have a number from 0.5 to 5.0; You can have every half and whole number inbetween. 0.5 , 1, 4.5,
remiX #7
Posted 15 October 2012 - 02:08 PM
:D/>/> lol 0.1 would be like this size
Doyle3694 #8
Posted 15 October 2012 - 05:45 PM
Then put pressureplates in front of your monitor, so when they walk up to read the text they activate a TNT trap :D/>/> :P/>/>
remiX #9
Posted 15 October 2012 - 05:57 PM
Lmao XD
PixelToast #10
Posted 15 October 2012 - 06:08 PM
my house can self destruct if someone enters the wrong password, i got 2 people banned xD
i put up a sign that said if you enter the wrong password it would blow up and they would get banned
they completely ignored it