It looks like you're new here. If you want to get involved, click one of these buttons!
local mesh = Mesh.new() mesh:setVertices(1, 0, 0, 2, 300, 0, 3, 300, 300, 4, 0, 300) mesh:setIndexArray(1, 2, 3, 1, 3, 4) mesh:setColorArray(0xff0000, 1.0, 0xff0000, 1.0, 0xffff00, 0.5, 0xffff00, 0.5) stage:addChild(mesh)
Likes: thanhquan1512
Dislikes: totebo
Comments
example
Likes: thanhquan1512
Paulo
Dislikes: totebo