It looks like you're new here. If you want to get involved, click one of these buttons!
local shape = Shape.new() shape:setFillStyle(Shape.SOLID, 0xff0000, 1) shape:beginPath() shape:moveTo(0,0) shape:lineTo(100, 0) shape:lineTo(100, 100) shape:lineTo(0, 100) shape:lineTo(0, 0) shape:endPath() shape:setPosition(0, 150) stage:addChild(shape) for i=1, 100000000 do end shape:removeFromParent() |
Comments
run code
render
which together is frame
so it does
runcode
render
runcode
render
runcode
render
runcode
render
all the time under the hood
Delay runs code on next enter frame or basically next time code is run, all other examples are on the same runcode time
Likes: totebo, antix