Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Rope in SFML (like in worms)  (Read 1432 times)

0 Members and 1 Guest are viewing this topic.

kaki2308

  • Newbie
  • *
  • Posts: 2
    • View Profile
Rope in SFML (like in worms)
« on: November 05, 2014, 03:30:35 pm »
Hello,

I want to write a game called gusanos. It's real time worms game.
I'm wondering how I can program rope to behave like rope (if you have played in worms world party etc. you should know how rope works).
I'm not taking about drawing but about math&physics behind it.
Any clues?

AlexAUT

  • Sr. Member
  • ****
  • Posts: 396
    • View Profile
Re: Rope in SFML (like in worms)
« Reply #1 on: November 05, 2014, 04:32:51 pm »
Use google  ;)

Especially about 2D physics there are a lot of articles available for free, just one example for 2D rope physics: (http://www.wildbunny.co.uk/blog/2011/04/06/physics-engines-for-dummies/ at the end of the article, just draw multiple line segments instead of circles)


AlexAUT
« Last Edit: November 05, 2014, 04:34:44 pm by AlexAUT »

 

anything