change=false fundo = { type = 12, width = 800, height = 400, color = 0xffffff, miceCollision = false, groundCollision = false, } red = { type = 12, width = math.random(10,800), height = math.random(10,400), color = 0xff0000, miceCollision = false, groundCollision = false, } blue = { type = 12, width = math.random(10,800), height = math.random(10,400), color = 0x0000ff, miceCollision = false, groundCollision = false, } idFundo = 0 num = 0 vez = false tfm.exec.disableAutoNewGame(true) tfm.exec.disableAutoShaman(true) tfm.exec.disableAutoTimeLeft(true) tfm.exec.newGame("@5177592") function eventNewGame() change=true end function eventLoop() if not change then tfm.exec.newGame("@5177592") end if vez then tfm.exec.addPhysicObject(idFundo, 400, 200, fundo) tfm.exec.addPhysicObject(1, math.random(0,800), math.random(0,400), red) tfm.exec.addPhysicObject(2, math.random(0,800), math.random(0,400), blue) red.width = math.random(10,800) red.height = math.random(10,400) blue.width = math.random(10,800) blue.height = math.random(10,400) ui.addTextArea(5000, "aqua.flv - Slide 000" .. num, nil, 0, 370, 300, 30, 0, 0, 0.0, false) num = (num + 1) % 10 vez = false else vez = true end end