[Feature Request] "Can fall thought jump-thru platform?"

Discussion and feedback on Construct 2

Post » Sun Sep 21, 2014 6:10 pm

Hi
I think it would be very useful for the platform behaviour an "Can fall thought jump-thru platform?" property

For default set on "Yes", so there will be no problem with existing projects

And if you switch to "No", the player can jump and fall thought jump-thru platform like if the platform did not exist at all

It would be excellent for a fish enemy:
The fish needs the platform behavior for swim and jump, but he does not need to fall in to the jump-thru platform

Image

Thanks in advance
José Silva
B
89
S
28
G
11
Posts: 652
Reputation: 11,428

Post » Sun Sep 21, 2014 7:29 pm

You can use variables to enable/disable the jump through behavior. Check out the attached capx. Is this what you want to achieve?
You do not have the required permissions to view the files attached to this post.
composer - multimedia artist
www.eli0s.com/en/
B
69
S
27
G
6
Posts: 1,146
Reputation: 10,379

Post » Sun Sep 21, 2014 11:12 pm

Hi, thanks for the answer but I don't want to disable the jump through behavior because I want that the player can stand on the jump through platform.

Only the Player, not the fish.

Sorry for my English.
You do not have the required permissions to view the files attached to this post.
B
89
S
28
G
11
Posts: 652
Reputation: 11,428

Post » Mon Sep 22, 2014 12:00 am

If you don't care about controlling the fish with the platform behavior and you just using it for the jumping arc, then you can use an other, hidden object to do the jumping and add its Y values to the fish. Check the capx.

On the other hand, if you do want to control the fish with the platform behavior, then I can't think of something, you'll need a way for the the solid/jump-through behaviors to be object oriented (for lack of better wording), like with the tabbing system that we have for the audio object, or even the shadow & lighting behavior.
You do not have the required permissions to view the files attached to this post.
composer - multimedia artist
www.eli0s.com/en/
B
69
S
27
G
6
Posts: 1,146
Reputation: 10,379

Post » Mon Sep 22, 2014 1:53 am

I think I got it, I will try to integrate it in my Project. Be back.
B
89
S
28
G
11
Posts: 652
Reputation: 11,428

Post » Mon Sep 22, 2014 10:15 am

Here's a possible way to do it:
You do not have the required permissions to view the files attached to this post.
B
55
S
29
G
19
Posts: 1,520
Reputation: 25,650

Post » Mon Sep 22, 2014 7:37 pm

@ramones that's brilliant and elegant!
composer - multimedia artist
www.eli0s.com/en/
B
69
S
27
G
6
Posts: 1,146
Reputation: 10,379

Post » Tue Sep 23, 2014 1:06 am

@ramones @eli0s Thank you very much! My Project is one step less of be complete! I hope you get my game once it's done! Thanks!
B
89
S
28
G
11
Posts: 652
Reputation: 11,428


Return to Construct 2 General

Who is online

Users browsing this forum: AnimH01, Refeuh and 14 guests