Community challenge: Create a sort of rope

This forum is currently in read-only mode.
0 favourites
From the Asset Store
Fully commented source code/event sheet & sprites to create a space shooter game
  • Goal: create a dynamic rope (static rope animation using bones won't cut it)

    Secondary goals:

    -allow both endpoints to be able to move

    -adjustable length (control slack)

    -adjustable digit count (rope resolution)

    the more flexible (in terms of potential applications), the better.

    here's my start: http://upload.dfyb.net/uploaded/rope_firstattempt.cap (feel free to build on top of this or start from scratch)

    not sure if i'm on the right track. interested to see if someone else can come up with a better way to do it. as you can see, i've not yet made it to where it draws anything between the digits.

  • ooh community challenges sound cool

  • ooh community challenges sound cool

    There kind of was one before with that coarse gravity asteroids thing

    But yeah, I think it's a neat idea to offer up a challenge and have everyone take a whack at it.

  • ive already done it with physics

    or is that not allowed?

    edit: i saw your thing, i guess physics is allowed.

    i find your thing represents an elastic more than a rope.

  • ive already done it with physics

    or is that not allowed?

    edit: i saw your thing, i guess physics is allowed.

    i find your thing represents an elastic more than a rope.

    can you post an example of how you did it?

  • sure, i used hinges,

    damn it seems to be broken for some reason, it just falls apart, ill remake it later, I dont feel like doing it right now.

  • hinges felt really innacurate/unstable to me. it's why i used springs. looking forward to see someone else's stab at it though.

  • Here's my stink one

    http://www.mukpuddy.com/timtests/rope.cap

  • Heh, I like the idea of community challenges. Davo and I came up with this one. You'll need the latest 0.98.4.

    It doesn't look as good as Squeemish's, but it uses instances of the same object, instead of a load of clones (which would get kinda annoying in the event sheet editor).

  • <img src="http://upload.dfyb.net/uploaded/rope_construct_round1.png">

    all 3 examples so far have problems when the endpoint is an exact location.

    <img src="http://upload.dfyb.net/uploaded/rope.gif">

    what i had in mind was something like this, but also with the ability to move the endpoints around (as if they were fixed to a moving object).

    i assume it is because we're all building a directional rope. it seems like we'll need to do some semi-complex math for the joints to treat both endpoints equally.

  • 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 :D

    edit:

    Just as the points (cos t, sin t) form a circle with a unit radius, the points (cosh t, sinh t) form the right half of the equilateral hyperbola. Hyperbolic functions are also useful because they occur in the solutions of some important linear differential equations, notably that defining the shape of a hanging cable, the catenary, and Laplace's equation (in Cartesian coordinates), which is important in many areas of physics including electromagnetic theory, heat transfer, fluid dynamics, and special relativity.

  • Heh, I like the idea of community challenges. Davo and I came up with this one. You'll need the latest 0.98.4.

    It doesn't look as good as Squeemish's, but it uses instances of the same object, instead of a load of clones (which would get kinda annoying in the event sheet editor).

    For some reason I couldnt load yours, it said it was made in a newer version of construct (but mine is up to date, I clicked the update button and it said it was)

  • > Heh, I like the idea of community challenges. Davo and I came up with this one. You'll need the latest 0.98.4.

    > It doesn't look as good as Squeemish's, but it uses instances of the same object, instead of a load of clones (which would get kinda annoying in the event sheet editor).

    >

    For some reason I couldnt load yours, it said it was made in a newer version of construct (but mine is up to date, I clicked the update button and it said it was)

    You need 0.98.4. The update system won't be telling you about the new version until it's been proven that the latest version is stable enough. You can download .98.4 HERE.

  • You're using 0.98.3, update to 0.98.4, it's on the forum but isn't sending update notifications yet.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks, great update btw

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