A challenge for those who will accept it AKA the blob!

New releases and general discussions.

Post » Thu Jan 28, 2010 2:24 am

Yes, the blob. Listen to this while reading this post:

http://www.youtube.com/watch?v=HCtcgI4BcIQ

Listening to it? Good.

Ok, so I have been interested in box2d for a while, but have wondered about one thing... Softbodys!

I am not saying I can think of any practical use for them in a game other than just looking neat (Or making a gish clone), but it wouldn't hurt to try. I suppose a false softbody could be created by making thousands of tiny rigid bodies stuck together... I am not sure, but do you think it is possible? Give it a shot, do it or the blob will get you :shock:

Have fun!

--Nic
B
2
G
2
Posts: 8
Reputation: 666

Post » Thu Jan 28, 2010 4:08 am

You mean like this?

http://dl.dropbox.com/u/529356/blob.exe

I made it ages ago. It's kind of fragile if you mess with it with the mouse, but it's pretty stable as long as it's just interacting with the environment.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Thu Jan 28, 2010 4:55 am

very possible, and theres even a variety of ways to do it, you can use springs (which kinda freaks out)
or you can make a closed loop of hinged objects and add force in the opposite direction than that of " the object to the average of all the 'loops' objects." (quotations because its kinda confusing)

for a bouncy ball type blob this method works really well, and if you don't crush it beyond its center (which shouldn't be happening anyways) like with spring objects, it can crimp or invert.

for meat cube type of things, springs are really the way to go.
B
52
S
7
G
6
Posts: 1,945
Reputation: 7,610

Post » Thu Jan 28, 2010 5:19 am

[quote="QuaziGNRLnose":2913v5q8]very possible, and theres even a variety of ways to do it, you can use springs (which kinda freaks out)
or you can make a closed loop of hinged objects[/quote:2913v5q8]

I do both in my example. The rings of objects are all hinged together, and the light green crossbars all show where the spring force is being applied. It took me a loooong time to figure out the recipe for that blob. It's a very delicate balancing act, every blob I made before that one blew up catastrophically. Like, literally... they would go into a death wobble and then explode.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Thu Jan 28, 2010 7:15 am

[quote="deadeye":2vf5l3th]You mean like this?

http://dl.dropbox.com/u/529356/blob.exe

I made it ages ago. It's kind of fragile if you mess with it with the mouse, but it's pretty stable as long as it's just interacting with the environment.[/quote:2vf5l3th]


I tried to move my blob and it died :(
B
55
S
12
G
8
Posts: 339
Reputation: 9,314

Post » Thu Jan 28, 2010 9:07 am

How did it die?
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Thu Jan 28, 2010 9:38 am

The centre dot went outside the ring, which made the whole thing go a bit crazy. I had to put it down.
B
55
S
12
G
8
Posts: 339
Reputation: 9,314

Post » Thu Jan 28, 2010 9:40 am

Hmm... strange. This just happened from moving the arrow keys? I can run the thing back and forth through the level and smash it into walls and stairs as hard as it will go and it still maintains it's shape. It generally only breaks if I torture it with the mouse.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Thu Jan 28, 2010 10:04 am

Physics sucks

[url:3lqa3ngk]http://dl.dropbox.com/u/666516/cmblob.cap[/url:3lqa3ngk]
Image Image
B
161
S
48
G
90
Posts: 7,348
Reputation: 66,751

Post » Thu Jan 28, 2010 10:36 am

Ah, yes, I was torturing it quite a bit.

Edit: I've been trying to think of a way of doing a blob system like that, but making its area constant to make it more physically accurate. Any ideas?
B
55
S
12
G
8
Posts: 339
Reputation: 9,314

Next

Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 4 guests