Implement the "allow down button" on platforms?

New releases and general discussions.

Post » Tue Jan 13, 2009 5:16 pm

As it stands the behaviour of the platform control movement can be toggled between allowing using down to jump off a platform or not.

What'd be nice if the same principle could be applied to objects that are defined as being platforms, so that you could have per-platform control on this as well as per-player.
B
2
S
2
G
3
Posts: 158
Reputation: 1,566

Post » Wed Jan 14, 2009 6:27 am

You can use the action 'Fall through platfroms? yes' to allow the character to fall through them at your will. Then untick the 'allow down button' and use an event like this:

[code:2arao7wg]always - set fall through to false
If player is overlapping fallable : offset (0,1)
and user pressed down button
------Set fall through to true[/code:2arao7wg]
B
4
S
2
G
5
Posts: 641
Reputation: 3,011


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 0 guests