Use the jump-thru behavior

Get help using Construct 2

Post » Tue Feb 21, 2012 6:33 am

Do i apply it to the player or the platform? Currently i have the platform with the jump-thru behavior, and the base player(collision base with another object to display its animations ontop of it) with the platform behavior. But, it just seems the player cant land ontop of the platform. it just falls through.

Edit: possible flaw with jump thru.

Edit2: posted example in bug section.PixelPalette2012-02-22 05:19:59
B
50
S
11
G
7
Posts: 274
Reputation: 8,146

Post » Tue Feb 21, 2012 6:50 am

Ah, i see the problem. It doesn't work with the object being sprite objects. Only works with the static tiled backgrounds. perhaps a bug or nobody thought of making it work for sprite objects? i like doing none static tiles.
B
50
S
11
G
7
Posts: 274
Reputation: 8,146

Post » Tue Feb 21, 2012 7:05 am

Check the manual.
You can see the purpose of the jumpthru and that it is to be set to the platforms.

Be sure also to check the file Platform 9 (jump-thru).capx in your C2 install\examples folder.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791

Post » Tue Feb 21, 2012 7:18 am

[QUOTE=Kyatric] Check the manual.
You can see the purpose of the jumpthru and that it is to be set to the platforms.

Be sure also to check the file Platform 9 (jump-thru).capx in your C2 install\examples folder.[/QUOTE]

Yep. checked it out after posting, and saw the problem, but introduced a new problem that i think hinders artists.
B
50
S
11
G
7
Posts: 274
Reputation: 8,146

Post » Tue Feb 21, 2012 7:40 am

What new problem ?
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791

Post » Tue Feb 21, 2012 8:16 am

[QUOTE=Kyatric] What new problem ?[/QUOTE]

Your limited to static tiles, because of tiledbackground.
B
50
S
11
G
7
Posts: 274
Reputation: 8,146

Post » Tue Feb 21, 2012 9:03 am

[quote]Be sure also to check the file Platform 9 (jump-thru).capx in your C2 install\examples folder.[/quote]

This example uses sprite object.
There's is no limitation of the object type you can apply the behavior to.

I still don't know what is your problem here.Kyatric2012-02-21 09:03:43
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791

Post » Tue Feb 21, 2012 5:00 pm

Checked it again and indeed uses sprite, but for whatever reason it doesn't work for sprite object, just tilebk. i'll figure it out some other time. Thanks 8)
B
50
S
11
G
7
Posts: 274
Reputation: 8,146

Post » Wed Feb 22, 2012 5:07 am

Okay i figured out how i broke it with sprite object. It seems i cannot have these object tiles close to each other, or it will fall right through for some reason. If i don't attempt to add multiple (just one tile) it works fine. So it has to be a flaw with jump-thru.

That is a problem....
B
50
S
11
G
7
Posts: 274
Reputation: 8,146

Post » Wed Feb 22, 2012 5:24 am

I had this problem and reported it here: http://www.scirra.com/forum/topic48644.html.

Ashley said it was repaired in this release (79.4), but as I did a workaround to make it work, I haven't tried it. Are you using 79.4?
B
22
S
3
G
6
Posts: 59
Reputation: 4,450

Next

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 24 guests