Wall is it Natural?

Discussion and feedback on Construct 2

Post » Thu Aug 15, 2013 11:36 pm

Hey guys, I have a platform behavior on my bad guys. I have it so he changes directions when he reaches a wall using the native next to wall action. They seem think every sprite is a wall and change direction. :( Is this natural?
B
44
S
14
G
3
Posts: 290
Reputation: 8,895

Post » Fri Aug 16, 2013 12:19 am

Do these sprites have the "Solid" behaviour?

The manual says
"Is by wall
Test if a solid blocking horizontal movement is immediately to the object's left or right. Jump-thrus do not count as walls."



As an alternative solution to that, you can give all the sprites the Jump-thru behavior.Xionor2013-08-16 00:20:41
B
10
S
3
Posts: 233
Reputation: 1,537

Post » Fri Aug 16, 2013 5:13 pm

Thanks Xionor. None of my sprites in question have SOLID on them. But it is acting like they do. I will just take your suggestion and make them jump through. Cheers Mate.
B
44
S
14
G
3
Posts: 290
Reputation: 8,895

Post » Fri Aug 16, 2013 7:45 pm

Are your sprites part of a FAMILY with SOLID?

There should be a reason why your objects are interacting in that way.
B
90
S
18
G
9
Posts: 2,455
Reputation: 15,038

Post » Fri Aug 16, 2013 7:48 pm

Jayderyu, No they are all alone. I thought I may have done that by accident. I actually changed the way the enemies behave now so there is no more wall issues.
B
44
S
14
G
3
Posts: 290
Reputation: 8,895


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 5 guests