Hi all! I'm looking to write a program to display various things on the same monitor, all with different sizes and colors. However if I attempt to print three different times at three different sizes, everything is only printed at the last size.
For example, if I'd like a title at size 2.75, description text at size 1, and another piece of detail text at size 2, everything prints in size 2.
Please help! How do I actually get it to print in different sizes on the same monitor? Is this even possible?
Program as it stands with everything else unrelated stripped out:
[pastebin link]
However, this is what is displayed on the monitor. The monitor is 2 blocks tall by 3 blocks wide. Note everything is printing in size 2.
For example, if I'd like a title at size 2.75, description text at size 1, and another piece of detail text at size 2, everything prints in size 2.
Please help! How do I actually get it to print in different sizes on the same monitor? Is this even possible?
Program as it stands with everything else unrelated stripped out:
[pastebin link]
Code:
--randomGen
--by KapitanWalnut and RareBluskei
--3/8/2014 v0.1.1
--setup
m = peripheral.wrap("right")
--FUNCTIONS
--setup Main title text style
function mainTitleStyle()
m.setTextColor(0x3)
m.setTextScale(2.75)
end
--setup general text style
function genTextStyle()
m.setTextColor(0x1)
m.setTextScale(1)
end
--setup biome text style
function biomeTextStyle()
m.setTextColor(0x2000)
m.setTextScale(2)
end
--create title screen
function titleScreen()
m.clear()
--main title
mainTitleStyle()
m.setCursorPos(3,1)
m.write("AFBeast")
--gen text
genTextStyle()
m.setCursorPos(1,4)
m.write("Current Safe Biome:")
--safe biome
biomeTextStyle()
m.setCursorPos(1,6)
m.write("Forest")
end
titleScreen()
However, this is what is displayed on the monitor. The monitor is 2 blocks tall by 3 blocks wide. Note everything is printing in size 2.
