How do I can build a jelly sprite?

Get help using Construct 2

Post » Fri Jun 10, 2016 8:03 pm

hi
can i build jelly sprite or jelly physics?
B
11
S
3
G
3
Posts: 50
Reputation: 2,281

Post » Fri Jun 10, 2016 11:53 pm

What you are asking for requires ridiculously insane mathematics.

This is the closest I could find on a quick research: http://stackoverflow.com/questions/3157 ... l-three-js

There are not many plastic physics engines out there. You can mimic it using elastic physics and stickiness though.
https://www.ravenheart.ca/home
I don't check the forums much anymore, but I will receive an email for PMs.

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,418
Reputation: 4,830

Post » Sat Jun 11, 2016 2:11 am

It's basically done with a bunch of springs. Hook's law is the equation to use to calculate spring force. Then it's just a matter of tuning the constants. So the math isn't that bad at all.

Searching for jelly gives these two:
viewtopic.php?f=147&t=116686&p=840413&hilit=Jelly#p840413
viewtopic.php?f=147&t=66051&p=563549&hilit=Jelly#p563549

The first one is more applicable I suppose. It's just a grid of point connected by a mesh of springs. Making it interact with other objects is where the most work is needed and there are many ways to handle it.
B
92
S
32
G
109
Posts: 5,290
Reputation: 70,991

Post » Sat Jun 11, 2016 2:38 am

Inb4 @R0J0hound gets bored and makes a hooks_jelly plugin xD

~Sol
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
83
S
34
G
40
Posts: 3,032
Reputation: 30,474

Post » Sat Jun 11, 2016 5:05 am

thanks guys :)
B
11
S
3
G
3
Posts: 50
Reputation: 2,281

Post » Mon Jun 13, 2016 2:34 pm

R0J0hound wrote:It's basically done with a bunch of springs. Hook's law is the equation to use to calculate spring force. Then it's just a matter of tuning the constants. So the math isn't that bad at all.


Yea, you can generally simplify it, if you are willing to sacrifice precision.
https://www.ravenheart.ca/home
I don't check the forums much anymore, but I will receive an email for PMs.

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,418
Reputation: 4,830

Post » Mon Jun 13, 2016 5:06 pm

Physical accuracy isn't really important in this case since you're going for a look, and a bunch of springs will be enough to do that here.

Wikipedia has a good overview of the methods.
https://en.wikipedia.org/wiki/Soft_body_dynamics
B
92
S
32
G
109
Posts: 5,290
Reputation: 70,991

Post » Tue Jun 14, 2016 7:00 pm

R0J0hound wrote:Physical accuracy isn't really important in this case since you're going for a look, and a bunch of springs will be enough to do that here.

Wikipedia has a good overview of the methods.
https://en.wikipedia.org/wiki/Soft_body_dynamics


I am just OCD most times, lol.
https://www.ravenheart.ca/home
I don't check the forums much anymore, but I will receive an email for PMs.

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,418
Reputation: 4,830


Return to How do I....?

Who is online

Users browsing this forum: KTML5, newt and 28 guests