physics cloth!

Post your Construct-made creations!

Post » Wed Jul 29, 2009 10:24 pm

i was kinda bored and playing the game hammerfight led me into wanting to make a physics based 2d cloth/banner wtv.

well id say that i succeeded. although the collisions need a bit of work because physics has no "point" based collision (feature request) the cloth just collides 6 pixels away from what its actually hitting (its a 13x13 circle)

the cap is made in 98.9 so im unsure how well it might work in newer versions. i bundled an exe just in case.

mouse controls the cloth "pin"
holding space shows the nodes and springs.

http://files.getdropbox.com/u/1010927/Cloth.zip

oh yah i went a lil overboard trying to make it bloom-ish with layer effects so you might wanna take those out if its slowing things down. i think it would look excelent for curtains blowing in from an open window during a sunburst afternoon, or a cape for some character, feel free to use it :D
B
52
S
7
G
6
Posts: 1,945
Reputation: 7,610

Post » Wed Jul 29, 2009 11:23 pm

That's pretty cool. :) It seems to behave more like rubber than cloth, though.
Moderator
B
98
S
37
G
19
Posts: 1,584
Reputation: 17,817

Post » Fri Jul 31, 2009 5:10 am

SWEET
B
3
S
2
G
4
Posts: 1,445
Reputation: 4,665

Post » Fri Jul 31, 2009 10:21 am

#include <stdio.h>
#include <math.h>

int main(){
int lettersonthisforum;

lettersonthisforum = pow(1024, 1024);

for(int a=0; a<lettersonthisforum; a++){
cout<<"QuaziGNRLnose: This is amazing.";
}

return 0;
}

:D

Good work :P
B
2
S
1
G
3
Posts: 193
Reputation: 1,486

Post » Fri Jul 31, 2009 10:15 pm

I don't think you needed the math library for that genesys
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Post » Sat Aug 01, 2009 11:51 am

Seems to work OK in the latest build :)

Nice work as always Quazizzle :D

Will you ever cease blowing my mind? The answer is, probably not ;)

~Sol
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
45
S
17
G
37
Posts: 2,853
Reputation: 25,966

Post » Sat Aug 01, 2009 12:23 pm

[quote="lucid":1t3jza12]I don't think you needed the math library for that genesys[/quote:1t3jza12]

For "pow" I don't need the math header?
B
2
S
1
G
3
Posts: 193
Reputation: 1,486

Post » Sat Aug 01, 2009 4:15 pm

[quote="Genesys":yz2ej4u1][quote="lucid":yz2ej4u1]I don't think you needed the math library for that genesys[/quote:yz2ej4u1]

For "pow" I don't need the math header?[/quote:yz2ej4u1]

:roll:
B
2
S
1
G
4
Posts: 156
Reputation: 1,612

Post » Sat Aug 01, 2009 5:30 pm

I missed the pow
sorry
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Post » Sat Aug 01, 2009 8:30 pm

Absolutely cool! It's amazing what things you guys can build with Construct.
B
8
S
3
G
7
Posts: 835
Reputation: 5,313

Next

Return to Your Creations

Who is online

Users browsing this forum: No registered users and 1 guest