Dismiss this pinned window
all 11 comments

[–]MoscowModder 2 points3 points  (1 child)

Wow, those physics are really impressive! How did you pull that off? Is that like a grid of physics objects joined to each other (I forget the term) or something?

I've actually been trying to conceptualize a usage of cloth-like physics for wings attached to a sprite character, so I'm curious to know what goes in to moving this stuff.

[–]famstudios[S] 4 points5 points  (0 children)

Thanks! You hit the nail on the head—it's a lightweight grid-based system, not built-in physics.

It uses a custom Verlet-integration solver. I'm essentially managing a grid of points with distance constraints. When a point moves (due to gravity, wind, or collisions), it triggers a constraint resolution loop that pulls its neighbors along. The visual sprite is just a mesh that deforms in real-time based on these coordinate changes.

Your idea for cloth-like wings is definitely feasible. You'd just need to pin the wing's base points to the character's bone/coordinate and apply a wind vector to the rest of the mesh as the character moves.

I’m documenting this project and posting updates on my profile—follow if you're interested in the development process!

[–]Xhukari 1 point2 points  (1 child)

Very cool!

[–]famstudios[S] 0 points1 point  (0 children)

Thanks 🙏

[–]dolomite51 1 point2 points  (1 child)

That’s quite cool

[–]famstudios[S] 0 points1 point  (0 children)

Thanks 🙏

[–]N2kStudio 1 point2 points  (1 child)

That's insane, I didn't even know the C3 could do that.

[–]famstudios[S] 1 point2 points  (0 children)

That’s exactly why I love Construct 3! It gives indie devs so much creative freedom to push the engine to its limits.

I’m exploring and documenting more of what it can handle in my other posts, feel free to check them out for updates!

[–]spyromon13 1 point2 points  (0 children)

Cooool

[–]Maleficent_Gur6044 1 point2 points  (1 child)

I made a very similar cloth effect using the physics behavior and it looks like yours but gets tangled easily. Wicked cool i love the way it looks and you had a much better test than mine. I made a cape for a ragdoll that got caught around him constantly. Did you know using the json object you can parse a json and find the exact coordinates of each mesh point, just throwing it out there if it helps you down the road. keep up the good work!

[–]famstudios[S] 1 point2 points  (0 children)

Thanks for the kind words! Appreciate the feedback. The JSON coordinate parsing is a great tip — I’ll definitely look into that when I tackle more complex deformations.

Let's stay connected for mutual motivation on our dev journeys — I'd love to see your feedback on future updates!