Stairs

Get help using Construct 2

Post » Fri Jan 04, 2013 6:52 am

Have anyone ever been able to produce a working set of simple stairs?

I guess they would have the jump through behavior. They would be a sprite set to an angle. And the player would be a plataformer.

However, if you simple do that you'll find that the stairs work horribly. You go right though them if you're falling at the wrong angle and sometimes the player would just stop going up and go sideways mid-stair.


What I mean.


How could a proper set of stairs be made?
B
42
S
11
G
5
Posts: 446
Reputation: 6,417

Post » Fri Jan 04, 2013 3:24 pm

I see what you mean. Jumpthru doesn't work well at all when the sprite is at an angle. What about giving them solid behavior and toggling it on and off depending on if the player is on the stairs or not. Works okay in this simple example apart from the player hopping a bit when he runs through the stairs from behind.
slopeJumpthruWorkaround.capx (r114)

B
54
S
28
G
18
Posts: 1,520
Reputation: 25,020


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 25 guests

cron