How do I make this player not go through this rock?

Get help using Construct 2

Post » Sat Feb 13, 2016 4:17 am

Message: charliebaby can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
So I created a movement system for this guy, but he will always pass through my obstacles.
I will show you pictures of what I mean

Is there any way I can make the rock impassible?

http://imgur.com/a/8RIRP
B
3
Posts: 4
Reputation: 183

Post » Sat Feb 13, 2016 5:53 am

Give the rocks a solid behavior.
Check out my completed games on the Arcade! Capt. Doe Save the Universe! & Clicker Wizard!
B
65
S
17
G
8
Posts: 636
Reputation: 9,333

Post » Sat Feb 13, 2016 2:25 pm

I have, but it did nothing.
B
3
Posts: 4
Reputation: 183

Post » Sat Feb 13, 2016 3:52 pm

Make sure the behavior is enabled, it should be working. I just tested it to make sure and its still working by default. You may be overriding it somehow. Post a pic of your code or a capx link if you like.
Check out my completed games on the Arcade! Capt. Doe Save the Universe! & Clicker Wizard!
B
65
S
17
G
8
Posts: 636
Reputation: 9,333

Post » Sat Feb 13, 2016 5:13 pm

You can use "Is overlapping at offset", inverted, to see if the position you are about to move into will not overlap.
ImageImageImage
B
71
S
21
G
221
Posts: 3,649
Reputation: 124,227

Post » Sun Feb 14, 2016 12:06 am

Here are the images

Image

Image

Image
B
3
Posts: 4
Reputation: 183

Post » Sun Feb 14, 2016 12:47 am

Image
ImageImageImage
B
71
S
21
G
221
Posts: 3,649
Reputation: 124,227

Post » Sun Feb 14, 2016 1:12 am

thanks, helps a lot
B
3
Posts: 4
Reputation: 183


Return to How do I....?

Who is online

Users browsing this forum: Darth Crusher and 9 guests