Platform Behavior bug (gliding over platforms)

Bugs will be moved here once resolved.

Post » Mon Feb 11, 2013 7:52 pm

OK, I think I *might* have finally got to the bottom of this. It seems on rare occasions, if you pixel-perfectly jump sideways on to a platform, sometimes the platform behavior would accidentally detect that as an upward slope that you're walking up. By tweaking the handling of slope detection, I think I have fixed it. You can try the new platform runtime.js here and let me know if this resolves it for you:

https://dl.dropbox.com/u/15217362/platformruntimer119.zip

I was hoping to do a stable release next, but I would really prefer this to have thorough testing in beta before putting the fix in a stable update. We've had small tweaks like this break the platform movement for some people before, because it's really hard to get right for all rotating gravity/jumpthrus/etc. that people use. So even if this works I might *not* release it in the next (stable) update, but put it in the first beta after that. (In the mean time you can use the runtime.js above.)

Let me know if this works for you, and especially if you notice anything working at all differently with slope handling.
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,544

Post » Tue Feb 12, 2013 7:44 pm

@Ashley - Everything seems to be working well over here. I've tested the new changes in 3 different projects all using slopes, jump-thrus, a series of custom mechanics + platform enemies. The only difference is you now have to use a collision offset of 0,1 to detect the floor instead of "Is Overlapping", which makes more sense anyway.

The 2nd way I mentioned you can reproduce the bug is still there, but it's so hard to pull off I guess it's ok for now.

Thanks!Tokinsom2013-02-12 19:45:23
Image
B
225
S
27
G
13
Posts: 1,774
Reputation: 18,024

Post » Tue Feb 12, 2013 11:14 pm

I tryied the runtime.js and improves the flickering issue but doesnt solve it completely.

The only solution for me is to work on version r108.2
B
4
S
1
Posts: 22
Reputation: 671

Post » Wed Feb 13, 2013 6:25 am

@Ga2Z - Flickering?
Image
B
225
S
27
G
13
Posts: 1,774
Reputation: 18,024

Post » Wed Feb 13, 2013 2:52 pm

@Tokinsom - I'm having trouble reproducing the second issue, I'm not sure I understand exactly what you're doing from the descriptions. Could you clarify?

@Ga2Z - if your issue is different to the one in the original post of this thread, please start a new thread including a .capx and steps to reproduce/observed result/expected result and so on. Issues cannot be investigated without all of this information.
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,544

Post » Fri Feb 15, 2013 4:28 pm

Oh sorry, I'm sure this is the problem for me too. Is just I couldn't reproduce the error in a smaller capx, because the error is not present in my attempts to find it. But there's also no reason to be working fine in previous releases (I made the thread but it died there because I couldn't get the example capx for you)

And by "flickering" I mean that the character start jumping a little bit at different speeds everytime I land on a platform, that's why it looks like flickering (or maybe I'm misusing the word). Aaaand, I'm sure that I'm on the right thread beacuse the problem almost got solved with the runtime.js, it just was less frequent. For now, I can work on r108.2 and is perfect :)
B
4
S
1
Posts: 22
Reputation: 671

Post » Mon Feb 18, 2013 11:58 am

I'm closing this report since I think the issue in the original post is now resolved. If you still have problems with the Platform behavior, please post a separate new thread for each issue you have with a reproducing .capx.
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,544

Previous

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest