Help me with collisions!

Get help using Construct 2

Post » Sun Dec 16, 2012 10:40 am

So, im learning to use Construct 2 but I have lots of problems.
What I want in this example is the blue block to have a platform behavior and jump the grey block that is moving around the layout.

http://dl.dropbox.com/u/122460797/saw/index.html

What happens is that the blue block doesnt jump with the layout so you have to add a platform. In the second example I've put a platform with solid behavior but the grey block stops moving.

http://dl.dropbox.com/u/122460797/saw1/index.html
Help MEEE! gikdew2012-12-16 10:42:56
B
8
Posts: 6
Reputation: 876

Post » Sun Dec 16, 2012 4:28 pm

Hard to say without a capx.
B
15
S
5
G
7
Posts: 877
Reputation: 5,650

Post » Sun Dec 16, 2012 4:45 pm

umm. is the blue block automatically jumping the grey block?
if the blue block has the platform beheviour. Then it has a lot of conditions pre built in. As in is(Moving/Jumping/Falling/Ground) on(Moving/Jump/Fall/Landed). It also has other criteria like unable to jump unless on the ground. So you are right the bluebox wont' jump without a Solid platform.

As for second situation. I have a hunch it stopped moving because your greybox is unable to make the Y condition of 500(hower that happens) before it moves left. So since grey != 500 then no move left :(

if you send your capx I/we can do more than just guess.
B
87
S
18
G
9
Posts: 2,455
Reputation: 14,834

Post » Mon Dec 17, 2012 3:49 pm

Try doing the event

- On Start of Layout
-> GreyBlock disable collisions
B
40
S
12
G
7
Posts: 603
Reputation: 7,646

Post » Mon Dec 17, 2012 4:02 pm

I figure out an easier way to do it!
I will show you the result game!
thanks for your help!
B
8
Posts: 6
Reputation: 876


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 23 guests