Community challenge: Create a sort of rope

This forum is currently in read-only mode.
From the Asset Store
Fully commented source code/event sheet & sprites to create a space shooter game
  • A quick note: If you just want a curve which is in the shape of dfyb's rope picture, you'll get it using hyperbolic functions (which are somehow similar or analogious to trigonometric functions.) Don't ask me how, cause I heard this from my math teacher in hi school, and he didn't tell me anything more about hyperbolic functions. If some math guru knows more about using them, I'll be interested to hear and learn

    Ooh, math! I can't wait to take a crack at this after my exam today.

    Does Drasa's idea meet all the requirements? Because I'm sure that this is the best way go about this rope business. Wikipedia points out that the equation for a catenary is:

    But I think we would need a more general form. Maybe

    <img src="">

    Then you get the two endpoints for the rope, plug them in for x and y to get values for x0 and y0. That leaves a which will basically determine the stiffness of your rope, so you can set it at whatever looks good.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • that's a nice example of using ropes in game

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)