Double collision

For questions about using Classic.

Post » Wed Sep 12, 2012 11:02 pm

I want do a double collision but i dont know

Explain me Please. thks


http://imageshack.us/photo/my-images/829/mariodoublecollision1.jpg/

http://imageshack.us/photo/my-images/843/mariodoublecollision2.jpg/luisgmolina2012-09-12 23:05:09
B
48
S
9
G
10
Posts: 199
Reputation: 8,256

Post » Wed Sep 12, 2012 11:16 pm

here the file:
http://depositfiles.com/files/pdq80wrw8

Construct 1.2 sorry...
but I prefer you to tell me in construct 2. please.
Thanks
B
48
S
9
G
10
Posts: 199
Reputation: 8,256

Post » Wed Sep 12, 2012 11:17 pm

It all depends on how you are controlling your goombas.
B
92
S
31
G
24
Posts: 3,191
Reputation: 32,644

Post » Wed Sep 12, 2012 11:18 pm

i controlled with platform beavior.
B
48
S
9
G
10
Posts: 199
Reputation: 8,256

Post » Wed Sep 12, 2012 11:20 pm

Well then. Do you have some variable to tell them which direction they are going?
B
92
S
31
G
24
Posts: 3,191
Reputation: 32,644

Post » Wed Sep 12, 2012 11:20 pm

Can you explain me please?

with platform beavior and/or with bullet
thanks

B
48
S
9
G
10
Posts: 199
Reputation: 8,256

Post » Wed Sep 12, 2012 11:45 pm

I took a look at it and made a very simple fix for this.
I simply took your event were the goomba hit a wall and used that for when goombas collide with each other, using collision at offset to determine which goomba should start moving in which direction.

It's probably not completely foolproof though.

https://dl.dropbox.com/u/22615804/collision_quickfix.cap
inkBot2012-09-12 23:45:38
B
73
S
20
G
10
Posts: 524
Reputation: 9,896

Post » Thu Sep 13, 2012 6:19 am

Also, even though they are old files, check out deadeye's Platform School, since it deals directly with your issue. I haven't checked the update made by someone else, but I bet you they did as well.
B
19
S
3
G
2
Posts: 148
Reputation: 1,945

Post » Thu Sep 13, 2012 11:15 pm

Thanks you
B
48
S
9
G
10
Posts: 199
Reputation: 8,256


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 1 guest