blue = Color.new(0,0,255) player = Image.createEmpty(10,10) player:clear(blue) text = "this" Player = { x = 0, y = 0 } function movePlayer() pad = Controls.read() if pad:right() then Player.y = Player.y + 5 end if pad:left() then Player.y = Player.y - 5 end if pad:circle() then screen:print(50,100,"This is cool", blue) end if pad:down() then Player.x = Player.x + 5 end if pad:up() then Player.x = Player.x - 5 end end --while true do while not Controls.read():start() do screen:clear() movePlayer() --screen:print(50,100,"THIS CODE WAS WRITTEN BY PJSPEEDY!!!", blue) screen:blit(Player.y,Player.x,player) screen.waitVblankStart() screen.flip() end