It looks like you're new here. If you want to get involved, click one of these buttons!
local block=Shape.new() block:setFillStyle(Shape.SOLID,color) block:setLineStyle(swidth, scolor, 1) block:beginPath() block:moveTo(-width/2+crad,-height/2) block:lineTo( width/2-crad,-height/2) block:lineTo( width/2,-height/2+crad) block:lineTo( width/2, height/2-crad) block:lineTo( width/2-crad, height/2) block:lineTo(-width/2+crad, height/2) block:lineTo(-width/2, height/2-crad) block:lineTo(-width/2,-height/2+crad) block:closePath() block:endPath()
Comments
sorry don't really understand what you mean.
Could you draw an example or something?
With Shape object you can create any shapes.
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
thank you.
https://github.com/gideros/gideros
https://www.youtube.com/c/JohnBlackburn1975