Code: Select all
-- Pre Image
screen:clear(Color.new(0, 0, 0))
screen:print(0, 264, "I have text here", Color.new(255,255,255))
screen.waitVblankStart()
screen.flip()
-- Copy Preimage offset by 8 and place back down.
img = Image.createEmpty(480, 272) -- Create image
img:clear(Color.new(0, 0, 0)) -- Clean image
img:blit(0, 0, screen, 0, 8, 480, 272, true) -- Copy screen
screen:clear(Color.new(0, 0, 0)) -- Clear screen
screen:blit(0, 0, img, 0, 0, 480, 272, true) -- Blit image
screen.waitVblankStart()
screen.flip() -- Display