Down button for Platform behavior needed

Discussion and feedback on Construct 2

Post » Sun Jun 10, 2012 3:28 pm

Remember Contra? When you holding "Down" and hit "Jump", you're falling through "Jumpthru" platform. The solution with disabling the behavior for a second is not an option. We need platform behavior bundled with down button, with possibility to check "fall through"?

Also, "Down" button can be used for simplifying "Duck" feature, but that not so vital.

P.S. I'm not a coder, so maybe this cannot be done in a simple and 100% working way.
B
19
S
6
G
4
Posts: 171
Reputation: 2,507

Post » Sun Jun 10, 2012 4:45 pm

Does anybody actually read the manual?

Jump through behaviour
B
19
S
6
G
7
Posts: 1,205
Reputation: 7,298

Post » Sun Jun 10, 2012 5:50 pm

So how it relates to my topic? Did that page answers you how enable fall through Jumpthru-enabled Sprite?

Here's an example - youtube video link at 1:10
Right after the death the blue player is holding down button and presses jump - and succesfully falls from one platform to another.NugMan2012-06-10 18:09:59
B
19
S
6
G
4
Posts: 171
Reputation: 2,507

Post » Sun Jun 10, 2012 6:12 pm

[QUOTE=NugMan] So how it relates to my topic? Did that page answers you how enable fall through Jumpthru-enabled Sprite?[/QUOTE]

Sorry if I didn't understand your post friend.....what exactly are you looking for?

Do you mean that the current method for dropping through platforms/solids is not suitable for your game?
B
19
S
6
G
7
Posts: 1,205
Reputation: 7,298

Post » Sun Jun 10, 2012 6:14 pm

[QUOTE=chrisbrobs]
Sorry if I didn't understand your post friend.....what exactly are you looking for?[/QUOTE]

You can jump up through platforms, but how you should fall through them?
And the solution should be suitable for 2 player game, when 1 player can fall through it, the another (while staying on the same platform as the 1st one) stays on it.
B
19
S
6
G
4
Posts: 171
Reputation: 2,507

Post » Sun Jun 10, 2012 6:35 pm

I'm pretty sure you can do this by moving your player downwards a pixel or two (past the top of the platform). Make sure you also don't allow the player to jump while holding down on a jump-thru platform.Tokinsom2012-06-10 18:36:16
Image
B
225
S
27
G
13
Posts: 1,774
Reputation: 18,024

Post » Sun Jun 10, 2012 6:56 pm

I think you might be right NugMan.
I just had a look at project I did ages ago, and this is how I tackled it-

B
19
S
6
G
7
Posts: 1,205
Reputation: 7,298

Post » Sun Jun 10, 2012 7:15 pm

That will drop down all sprites with platform behavior. Tokinsom's solution is better now IMHO. Though there should be a prettier one, i hope.
B
19
S
6
G
4
Posts: 171
Reputation: 2,507

Post » Sun Jun 10, 2012 7:24 pm

This is something we had in Classic but hasn't made it to C2 yet. Added to the todo list, hopefully can make the next build.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Sun Jun 10, 2012 7:34 pm

Awesome, as always :D
BTW I bought C2 today. All pros and cons are away now - C2 rules!
B
19
S
6
G
4
Posts: 171
Reputation: 2,507

Next

Return to Construct 2 General

Who is online

Users browsing this forum: zenox98 and 15 guests