Help with walls and layers

Get help using Construct 2

Post » Sun Nov 25, 2012 5:00 pm

In my side view game I have a road that spans left to right, a short wall in the center of the road, 1 tank on either side of the short wall and eventually a building on the screens edge that must be destroyed by the tank on the other side.

I don't know if it matters or not 'cause I'm just learning Construct 2, but the layers are this:
Layer 4 - Enemy Tank
Layer 3 - Short Wall/ divider
Layer 2 - Friendly Tank
Layer 1 - Road
Layer 0 - Desert background

On each Tanks layer I will have a building to be destroyed, i.e, on layer 2 - friendly tank, I will put the building that the Enemy Tank needs to destroy and vice versa for layer 4.

Now, I don't know if I can have the tanks, the short wall that will divide the sides and the buildings to be destroyed on the same layer or not. I've tried looking through the forum but couldn't find an example of such.

But the first problem I have is the Tank can pass through the short wall/ divider when I test it. I tried putting it in front of the Tank, same layer and behind it. I have solid as a behavior for both the tank and the wall.

Thanks for any help.
B
31
S
16
G
10
Posts: 443
Reputation: 9,207

Return to How do I....?

Who is online

Users browsing this forum: anty21ro, Kagubro, Yahoo [Bot] and 2 guests