Skip to content

surf:drawSurfaceSmall

CrazedProgrammer edited this page Apr 23, 2017 · 3 revisions

surf:drawSurfaceSmall(surf2, x, y)

  • surf2 (surface)
    Source surface
  • x, y (int)
    Target position

Draws another surface on the surface using the ComputerCraft teletext characters, which can give you 6x bigger resolution.
Errors if the source surface width isn't a multiple of 2 or if the height isn't a multiple of 3.
Note: the source surface cannot contain transparent pixels.

Clone this wiki locally