How can i create a rope???
local myRope = awesomeObjects.createRopeForMe()
Corona’s sample code includes a ‘chain’ example.
If you’re willing to part with a fair chunk of money (60 GBP) then maybe have a look at the “Cut The Cookie” template (a Cut The Rope clone).
I haven’t bought it so I can’t vouch for it, but it looks like it might be good for learning.
Here’s a post I made to let you create chains/ropes - see the top of the code for how to make them stronger as Box2D ropes tend to pull apart (this is the irresistible force/immovable object conundrum.)
local myRope = awesomeObjects.createRopeForMe()
Corona’s sample code includes a ‘chain’ example.
If you’re willing to part with a fair chunk of money (60 GBP) then maybe have a look at the “Cut The Cookie” template (a Cut The Rope clone).
I haven’t bought it so I can’t vouch for it, but it looks like it might be good for learning.
Here’s a post I made to let you create chains/ropes - see the top of the code for how to make them stronger as Box2D ropes tend to pull apart (this is the irresistible force/immovable object conundrum.)