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

What's the resolution (in pixels) for each CC Pixel?

Started by Gumball, 24 December 2016 - 07:40 AM
Gumball #1
Posted 24 December 2016 - 08:40 AM
I'm attempting to build a JavaScript emulator for CC, and I need to know the actual resolution of each pixel.
H4X0RZ #2
Posted 24 December 2016 - 09:50 AM
I suggest that you just take a screenshot of a blank screen with one colored pixel somewhere in the middle. DON'T use border pieces as they have additional height/width.
Bomb Bloke #3
Posted 24 December 2016 - 12:24 PM
A pixel's a pixel, though if your Minecraft window's large enough, GUI windows (eg ComputerCraft displays) get their resolution doubled.
SquidDev #4
Posted 24 December 2016 - 12:36 PM
Each glyph in the font texture is 6 pixels wide and 9 pixels high. I believe these are drawn at twice the size in a default Minecraft window, so one "pixel" is 12x18. You can scale the terminal with any integer scale to fit the window though and it'll look OK.
Edited on 24 December 2016 - 11:37 AM