Jump to content




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


3 replies to this topic

#1 Gumball

  • Members
  • 254 posts
  • LocationFairbanks, Alaska

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.

#2 H4X0RZ

  • Members
  • 1,315 posts
  • LocationGermany

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.

#3 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

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.

#4 SquidDev

    Frickin' laser beams

  • Members
  • 1,417 posts
  • LocationDoes anyone put something serious here?

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 by SquidDev, 24 December 2016 - 12:37 PM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users