How do I Create Barriers in 8-Direction mode?

Just started using Construct 2? Post your questions here

Post » Wed Jan 18, 2017 3:44 am

I'm having a bit of trouble here... This is my first time using the 8-direction behavior.

On certain layouts, I want the player to stick to the path, so I'd like to create some invisible barriers that the player cannot cross. I tried adding events where the player stops on collision with or overlaps the barrier, but then the player never moves again. If this were a platformer, I'd just toss in a couple of invisible solid objects and be done with it, but I'm having trouble with this.

Any suggestions?
B
7
Posts: 63
Reputation: 403

Post » Wed Jan 18, 2017 4:19 am

What's stopping you from using the invisible solid object method?
B
61
S
20
G
56
Posts: 1,077
Reputation: 35,986

Post » Wed Jan 18, 2017 9:14 pm

I feel like an idiot! That worked perfectly.
I thought I had read somewhere that Solid Object was only a function for Platformer mode. Thanks so much, I was totally overthinking this.
B
7
Posts: 63
Reputation: 403

Post » Wed Jan 18, 2017 9:28 pm

You're welcome. I'm glad you got it figured out.
B
61
S
20
G
56
Posts: 1,077
Reputation: 35,986


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 1 guest