I am trying to recreate the following clips, as these concepts are exactly what I would like to recreate in my game (except the portals are movable and the slingshot has an elastic limit). The examples seen in the video were made with box2d and Gideros, I would like to make mine with chipmunk and Cocos2d-x, but unfortunately cannot seek help the chipmunk website forum due to their inability to accept new members, so I was hoping somebody here could shed some light on the fundamentals of the examples portrayed in the clips (in c++, chipmunk and cocos2d-x however)
I took a few udemy courses and only learnt how to make a stylish animated UI, I could make a ball do collision actions but really, the elastic is rather gibberish to me and the key part of a slingshot game
@anon97208230 This is what you want. I written it about 7 years ago and open sourced it. Written in JS/HTML5 and box2d. You can take the JS code to do the swing part. It should be very easy to translate it to cocos2d-x c++ or the JS version.