Stairs with walk through

Get help using Construct 2

Post » Thu Jan 17, 2013 6:54 pm

Here is my diagram.

The stairs example on here can account for the green and yellow arrow.

But how do I deal with the blue arrow? And sometimes the green arrows acts strange, and I fall through the platform.

Anyone have a better solution for stairs?
B
30
S
10
G
7
Posts: 416
Reputation: 7,239

Post » Thu Jan 17, 2013 7:50 pm

Make the stairs solid and set solid enabled/disabled depending on if you want the player to stand on the stairs or pass through it.

http://www.scirra.com/forum/stairs_topic61567_post377963.html?KW=#377963
B
54
S
28
G
18
Posts: 1,520
Reputation: 25,000

Post » Thu Jan 17, 2013 7:52 pm

Here's a solution:
http://dl.dropbox.com/u/5426011/examples16/stairs.capx

I don't know if it's a better solution than yours since it wasn't posted.

EDIT:
ninja'dR0J0hound2013-01-17 19:53:59
B
79
S
24
G
54
Posts: 4,743
Reputation: 40,749

Post » Thu Jan 17, 2013 10:35 pm

[QUOTE=R0J0hound] Here's a solution:
http://dl.dropbox.com/u/5426011/examples16/stairs.capx

I don't know if it's a better solution than yours since it wasn't posted.

EDIT:
ninja'd[/QUOTE]

This. This solves the issue of walking through them as well as up. This is the most common behavior I see in video games.
B
30
S
10
G
7
Posts: 416
Reputation: 7,239


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 19 guests