Enemies wont attack in my platformer because of barrier bg how do i fix it

pls help me fix it its an epic boss fight
how do i change layers of devices
thank you c-c

You can turn collision off on the barrier.

1 Like

yes they are i don’t know why it wont work tho

Put the barrier and sentry in different layers

i did…………………………………….

If you did both of those things, I’d just say try refreshing. Sometimes the game just glitches out.

how do i change it tho

There is a thing in the top near the delete thing called layers make the sentry go in front of the barrier

1 Like

When making a game, in the top left hand corner there’s a button.

Just press the button (the one on the right), and press the arrows to make the barrier go below the sentries.

image

Use the arrows to make things go lower, just trying to click and drag it won’t work.

I’d recommend putting the barrier on the “Below” Layer, if it’s just simply a background.

thanks your the best

wait its still not working

Really?

Do you mind sending a screenshot of it..?

Or if you can’t screenshot it, maybe just explain what you’ve done so far- I’ll see if I can help.

Could you crop the image so that it doesn’t show the code?

Anyway- I meant your layering.

It could also just be the sentry being on the wrong team, or something like that.


i checked and the team is sentry

1 Like

Is the sentry in question in the “In Front” section? That could be the problem.

1 Like

still wont work i moved it

Did you move it to the behind section?

I’ve noticed that a sentry only seems to work in the “Behind” section.

oh ok ill try that ok

1 Like