Cells

For questions about using Classic.

Post » Fri May 08, 2009 9:17 pm

Is it possible with physics objects so that when the collide, they connect to each other, preferably connecting into each other forming a new shape? Imagine red blood cells gelling together...

http://www.dailysciencedose.com/wp-cont ... _blood.jpg
B
2
G
3
Posts: 28
Reputation: 906

Post » Fri May 08, 2009 10:17 pm

Yep, check under actions for "create hinge".
Image Image
B
161
S
48
G
90
Posts: 7,347
Reputation: 66,749

Post » Fri May 08, 2009 10:27 pm

yes, if you need the hinge to not be a hinge that moves, but just they get stuck together

[code:3q3avccv]hinge object a with object b
then
hinge object b with objecta[/code:3q3avccv]
this will make them stuck together like one big object

if you're really intent on it looking crazy, you could add something graphical that happens to make them gel, either a distort map thing, or an in between sprite there just to make the gel area look just right,
but yeah hinges connect,
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Post » Sat May 09, 2009 9:23 am

Sweet thanks guys, havn't worked out how to do hinges at the moment looking for a tutorial now. Good tip about using effects to gel them together!
B
2
G
3
Posts: 28
Reputation: 906

Post » Sat May 09, 2009 11:56 am

no tutorial on hinges specifically.
pretty simple stuff

heres a quick tutorial

start a new cap
make 2 sprites
put physics behavior on both
make sprite1 immovable(on the properties for the physics behavior)

put sprite1 in the center of the layout
put sprite2 to the right of it, and leave a decent space between

in your event sheet, make one event
start-of-layout

then add one action. sprite2, under physics tab
create hinge to sprite1

run the cap
you'll get the idea


if you do a hinge in both directions the hinges fuse the two objects together and no longer rotate like hinges
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Post » Mon May 11, 2009 3:16 pm

If you want to make them "look" more gel-like, you could always check out some of Quazi's "Quazi-Blob(tm)" examples in the uploads and creations sections, or you can download my LAVA example made using Quazi's Quazi-Blob(tm) technology.

~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 » Mon May 11, 2009 6:24 pm

I'm glad you thoroughly respected my brother's copyright Sol. :mrgreen:
B
25
S
3
G
6
Posts: 1,197
Reputation: 5,620

Post » Mon May 11, 2009 8:41 pm

lol, respecting my fake trademark :P
B
52
S
7
G
6
Posts: 1,945
Reputation: 7,610

Post » Tue May 12, 2009 5:21 pm

Hell yeah ;)

That's because it's awesome :D

~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


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 3 guests