My problem is not about snake game but it's the best game to explain this. I want to link several sprites to one, at different distances.
I tried with pin rope style, but it's not the same. My game is a spaceship shooter and i need exactly this behaviour:
(1:15, see the little ball that follows the spaceship)
Someone know how to did it easily?
Add physics to the objects involved.
Create distance joint.
Physics actions: Joints
Create distance joint
Fix two physics objects at a given distance apart, as if connected by a pole.
Develop games in your browser. Powerful, performant & highly capable.
No, this doesn't work, if you see the video, the distance between the 2 objects is not always the same.