function createWorld() board = ag.createBoxStatic(8, 8, 0.01) board:setPosition(0, 0, -0.005) board:setTexture(checker) board:setTextureScale(2) ground = ag.createPlane(0, 0, 1, -0.005) ground:setColor(0, 0.4, 0) ag.setCamera(2, -8, 8) end function init_event() checker = ag.loadTexture("checker.jpg") createWorld() end