Hello, I faced the same .. bug .. (maybe it's not a bug but a feature)
wall = Shape.new()
local texture = Texture.new("brick.png", true, {wrap = Texture.REPEAT})
wall:setFillStyle(Shape.TEXTURE, texture)
wall:beginPath()
wall:moveTo(-150,-150)
wall:lineTo(150, -150)
wall:lineTo(150, 150)
wall:lineTo(-150, 150)
wall:closePath()
wall:endPath()
wall:setPosition(160,160)
stage:addChild(wall)
I would like to sprite poured wall completely, with no gaps. what I am doing wrong? thanks..
brick.png is 20x40
results included
Comments
Likes: atilim, duke2017, zaniar
#MakeABetterGame! "Never give up, Never NEVER give up!" - Winston Churchill