Make an object hug a wall?

Get help using Construct 2

Post » Sat Feb 04, 2012 12:03 pm

I've been having some trouble making an object hug the inside of the wall flawlessly.
At the minute I have it moving whilst overlapping the side/floor, then changing direction when it collides with a wall, or when it's not overlapping.
It works fairly well, but every so often it gets stuck, was wondering whether anybody knew of a better way of doing it?

Here's the html

Here's the CAPX

Thanks in advance =)
B
22
S
6
G
10
Posts: 118
Reputation: 8,005

Post » Sun Feb 05, 2012 11:42 am

Anybody? Really struggling with this =/
B
22
S
6
G
10
Posts: 118
Reputation: 8,005

Post » Sun Feb 05, 2012 3:35 pm

Last edited by Yann on Sun Sep 14, 2014 9:45 pm, edited 1 time in total.
B
60
S
22
G
14
Posts: 1,479
Reputation: 16,346

Post » Sun Feb 05, 2012 4:07 pm

Thank you so much, this will be very useful. I'll give you thanks in the credits of the game I'm making =)
B
22
S
6
G
10
Posts: 118
Reputation: 8,005


Return to How do I....?

Who is online

Users browsing this forum: farfetchd83, mjj1990 and 4 guests