Difference between revisions of "Keydash"

From ALttP Speedrunning Wiki
Jump to: navigation, search
m (Helge moved page Key Dash to Keydash without leaving a redirect)
Line 1: Line 1:
You can dash through locked doors if you have the key for it and the correct positioning. To understand how this works, remember Link moves at 4 pixels per frame while dashing and locked doors have their unlocking trigger in front on them. The unlocking trigger is at a pixel precise position, and to activate this trigger, Link must land on the pixel on the way to the door so it opens before he reaches it.
+
A keydash enables you to dash into a locked door, open it with a key, and go through the door to the next screen, all while dashing and without bonking.
  
So when dashing, Link must trigger the unlocking of the door and the door will open before colliding with it. If Link misses the trigger, he will bonk on the door and the dash's bonk will unlock the door. Look at the picture below, and it will probably make more sense.
+
[[File:Keydash Hammeryump.gif|thumb]]
  
[[File:Keydashexplanation.png]]
+
== How to perform it ==
  
The positions aren't right (in term of in-game position), but I think you will have a better view of how it works. The green path is a good path that will trigger the opening of the door so Link can pass through. The red path gets past the yellow line so that doesn't trigger the opening of the door before reaching it and therefore, this path will bonk the door
+
You need to start the dash a multiple of 4 pixels from the door (so 4, 8, 12, 16, 20, etc. pixels from the door), and have a key.
  
Luckily you don't have to worry about manually positioning yourself, the rooms are generally arranged on a grid where the pixel distance between all objects (walls, chests, torches, railings, pots, etc.) is a multiple of 4. So you can align Link with any object in the room before dashing towards the door, and you will have the correct positioning to pass through. Note that after you've aligned with an object, you must wait to input movement toward the door until AFTER you've started the dash charge animation. Moving before the animation will put you off of the object's coordinate, and you will most likely miss the key dash and bonk.
+
Luckily you don't have to worry about manually positioning yourself, the rooms are generally arranged on a grid where the pixel distance between all objects (walls, chests, torches, railings, pots, etc.) is a multiple of 4. So you can align Link with any object in the room before dashing towards the door, and you will have the correct positioning to pass through.
 +
 
 +
Note that after you've aligned with an object, you must wait to input movement toward the door until AFTER you've started the dash charge animation. Moving towards the door before you start the dash will put you off of the object's coordinate, and you will most likely miss the keydash and bonk.
 +
 
 +
== Technical explanation ==
 +
 
 +
* Link moves at 4 pixels per frame while dashing (as explained in [[Movement]]).
 +
* Locked doors can be unlocked from one pixel in front of its collision hitbox.
 +
 
 +
By aligning yourself in a multiple of 4 pixels from the first unlocking trigger (outside the collision hitbox), you will hit the trigger before you hit the door. Since the door is unlocked by the time you hit the would-be door, Link will pass through to the next screen without a bonk.
 +
 
 +
If you're not aligned, collision detection will kick in on the same frame that you open the door, and you'll bonk.

Revision as of 22:46, 6 January 2017

A keydash enables you to dash into a locked door, open it with a key, and go through the door to the next screen, all while dashing and without bonking.

Keydash Hammeryump.gif

How to perform it

You need to start the dash a multiple of 4 pixels from the door (so 4, 8, 12, 16, 20, etc. pixels from the door), and have a key.

Luckily you don't have to worry about manually positioning yourself, the rooms are generally arranged on a grid where the pixel distance between all objects (walls, chests, torches, railings, pots, etc.) is a multiple of 4. So you can align Link with any object in the room before dashing towards the door, and you will have the correct positioning to pass through.

Note that after you've aligned with an object, you must wait to input movement toward the door until AFTER you've started the dash charge animation. Moving towards the door before you start the dash will put you off of the object's coordinate, and you will most likely miss the keydash and bonk.

Technical explanation

  • Link moves at 4 pixels per frame while dashing (as explained in Movement).
  • Locked doors can be unlocked from one pixel in front of its collision hitbox.

By aligning yourself in a multiple of 4 pixels from the first unlocking trigger (outside the collision hitbox), you will hit the trigger before you hit the door. Since the door is unlocked by the time you hit the would-be door, Link will pass through to the next screen without a bonk.

If you're not aligned, collision detection will kick in on the same frame that you open the door, and you'll bonk.