Page 1 of 1

The slipping through one-ways glitch.

Posted: 2011.12.13 (21:37)
by Raif
This glitch has been around for a long time, but no one knew why it happened and there have been all sorts of explanations for it but none of them were correct or could be proven. In fact the most common explanation, that this happens when you fall from 132 pixels high up onto a one way has been proven wrong time and time again.

TRO and I have been messing around with one ways for the past few days, trying to replicate this glitch in different places, and according to our testing the glitch only works at upwards-facing one ways and left-facing one ways placed on specific positions. They seem to be impossible in all other positions, as well as on downward facing one ways and right facing one ways. (Can't be 100% sure though; there maybe things we missed)
We still have no explanation for why it happens though.

These positions aren't just random ones though, there seem to be a pattern to them.
First of all each position is a 4-pixel range at which you can slip through a one way. For example if you can slip through a one way at 264, you should be also able to slip through a 4 pixel range around it, maybe like 264, 265, 266, 267.
Another thing is that the highest one will be the hardest to slip through (in this case 264) while the last one will be ridiculously easy to slip through (267 in this case).
All of these positions seem to be a power of 2 plus either 8, 9, 10 or 11.
There are 4 of these ranges inside the map.

The first range (72 to 75)
2^6 + 8 = 72
2^6 + 9 = 73
2^6 + 10 = 74
2^6 + 11 = 75

The second range (136 to 139)
2^7 + 8 = 136
2^7 + 9 = 137
2^7 + 10 = 138
2^7 + 11 = 139

The third range (264 to 267)
2^8 + 8 = 264
2^8 + 9 = 265
2^8 + 10 = 266
2^8 + 11 = 267

The fourth range (520 to 523)
2^9 + 8 = 520
2^9 + 9 = 521
2^9 + 10 = 522
2^9 + 11 = 523

All other possible positions according to this pattern are either out of the map, or impossible to test since they are too close to the borders.

A small demo showing the glitch on upward-facing oneways in these ranges


A small demo showing the glitch on left facing one ways in these ranges


Again, we have been unable to get this glitch to work on right facing or downward facing one ways.

On another note golfkid, asked on IRC whether the glitch used on 190-4 speedrun is the same glitch as this one. It is not. That one probably has something to do with the ninja going a little into the ceiling and making it over the oneway.

Re: The slipping through one-ways glitch.

Posted: 2011.12.13 (21:57)
by Meta Ing
I think I've mentioned this before, but I'm pretty sure that you'll never be able to pull off the glitch with downwards facing one ways for the fact that once the ninja hits something solid and non-movable on the way up, it stops gaining altitude. Any other direction and the ninja can still move that way.

Anyways, nice findings on the glitch.

By the way, is this glitch in any way related? The workings of it are much different, but still, it does involve going through sideways oneways...


Re: The slipping through one-ways glitch.

Posted: 2011.12.13 (22:07)
by EddyMataGallos
Awesome, you guys have really extended our knowledge about this glitch ;D
Pretty interesting glitch

Re: The slipping through one-ways glitch.

Posted: 2011.12.13 (22:49)
by TheRealOne
Meta Ing wrote:I think I've mentioned this before, but I'm pretty sure that you'll never be able to pull off the glitch with downwards facing one ways for the fact that once the ninja hits something solid and non-movable on the way up, it stops gaining altitude. Any other direction and the ninja can still move that way.

Anyways, nice findings on the glitch.

By the way, is this glitch in any way related? The workings of it are much different, but still, it does involve going through sideways oneways...

Yeah I completely agree with your on the downward facing one way, that seems very logical. I also have no idea why right facing oneways wouldn't work.

You glitch there seems very different. But very cool. I have no idea why that works, even more strange is that you can not wj on the oneways after you hit the LP.

Re: The slipping through one-ways glitch.

Posted: 2011.12.14 (00:05)
by golf
Could Meta's glitch be because of the way lp's work? I seem to remember something about them taking full precedence on object collisions, so maybe the frame you hit the lp you're able to move to the side just enough to go through the one-way.

Re: The slipping through one-ways glitch.

Posted: 2011.12.14 (00:08)
by DW40
I believe the ninja isn't affected by objects on the first frame after hitting a launch pad. However, game conditions and objects are affected by the ninja on the same frame. This causes the ninja to slip through one-ways and also causes the invincibility glitch where you can't finish the level. (when you die on the LP frame)

Meta's glitch is a LP glitch and unrelated

Re: The slipping through one-ways glitch.

Posted: 2011.12.14 (01:06)
by Meta Ing
BanjoDave wrote:I believe the ninja isn't affected by objects on the first frame after hitting a launch pad.
Ah, good thinking. I never even considered that til you mentioned it.

Re: The slipping through one-ways glitch.

Posted: 2011.12.15 (05:26)
by omniprescence
Very cool. I had no idea that this was such a mystery.