I’m playing around with the corona sample apps and decided to try combining two together: the camera app and the ragdoll app. I’m trying to replace the rectangular head in the ragdoll app with:
local head = display.newImage(“self.jpg”, system.DocumentsDirectory, startX, startY)–display.newCircle( startX, startY, 12.5 )
--head.fill = { type=“image”, filename=“self.jpg”, baseDir = system.TemporaryDirectory }
--head.x = startX
--head.y = startY
--setFill(head, colorTable)
ragdoll:insert (head)
However, nothing changes! I feel like there’s something small I’m missing and I’d really appreciate some assistance! If it helps, here’s my code: https://github.com/sw5813/ragdollifyyourself