How do I keep my player from sinking into jump-thru platform

Just started using Construct 2? Post your questions here

Post » Thu Jan 08, 2015 9:51 pm

capx: https://www.dropbox.com/s/tlp0boy48ocw9zt/jumpthru-issue.capx?dl=0

If my player goes from one platform to another, via a ladder, and jumps off the ladder onto the lower platform, the player kind of "sinks in". If I go halfway up a ladder and jump down onto the same platform again, the problem doesn't happen again. It only seems to happen if going from one platform to another and jumping down. Is this a bug or am I missing something? I tried making a very thin, invisible, jump-thru platform at the top of each platform, thinking that might help, but it did not. Any ideas on how to fix or workaround this issue? The reason i am using jumpthru is because i am going to have objects that, when collided with, fall down from their platform to the lower one.

Thanks so much! :)
You do not have the required permissions to view the files attached to this post.
Last edited by cfry on Thu Jan 08, 2015 10:23 pm, edited 1 time in total.
B
12
S
3
Posts: 43
Reputation: 1,213

Post » Thu Jan 08, 2015 10:19 pm

gave a try at your capx but I don't get it, everything seem fine to me. Do you sure it isn't animation sprite thing?
ImageImage
B
105
S
46
G
23
Posts: 778
Reputation: 22,226

Post » Thu Jan 08, 2015 11:41 pm

What is animation sprite thing? I am using the latest C2 and the latest ver of chrome on Win7x64(pro).
B
12
S
3
Posts: 43
Reputation: 1,213

Post » Thu Jan 08, 2015 11:53 pm

I mean do these polygon collision seem not consistent?
Image
ImageImage
B
105
S
46
G
23
Posts: 778
Reputation: 22,226

Post » Fri Jan 09, 2015 2:21 am

Oh man. I didnt even think about collision boxes. I will see if this fixes it. Thank you!
B
12
S
3
Posts: 43
Reputation: 1,213

Post » Fri Jan 09, 2015 9:44 pm

Hmmm. Adjusting the collision boxes didn't help at all. This problem happens in both Chrome and Firefox. Any other ideas? One thing that I forgot to mention is that, If I sink in, then hit the up key, I snap to where I should be. If I try to simulate this control on-landed, the player just stays sunk in.
B
12
S
3
Posts: 43
Reputation: 1,213

Post » Sat Jan 10, 2015 2:44 pm

I tried your file on Firefox 34.0.5 and it works perfect. Good job on the animation, it's nice.

I also tried it on Chrome version 39.xxx and it worked fine too.
B
8
S
1
Posts: 20
Reputation: 505

Post » Sun Jan 11, 2015 10:01 pm

Strange. I guess it has something to do with my computer then. Thanks for testing it out!
B
12
S
3
Posts: 43
Reputation: 1,213


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 2 guests