Still one of the best simple headers I use.
Could probably do with a 2.55 version, to use some of the new features (such as reading 'Link->BigHitbox' instead of the hitbox being an argument)
Also speed boost working in water should be allowed; or at least togglable with a constant. Had to modify that for my Zora to swim faster.
Regardless, the sub-pixel movement, easy "speed boost", and the fact that it saves needing to do collision checking yourself, makes it EXTREMELY useful.
LinkMovement.zh
Overview
Creator:
Moosh
Updated: 12 Jun 2021
Tags:
Global,
Library
Downloads: 120
|
View Script
Download Script (5.02 KB) |
Information
A header for moving Link by subpixel amounts.
Description Setup Reviews Comments
This header contains a global script and some functions that I use in my own projects for handling moving Link by non integer amounts. Features of the header include:
Update 3/20/18: Updated the CanWalk function to work better with sideview.
Update 3/24/18: More tweaks to CanWalk.
Update 6/9/18: Fixed some bugs with negative speed boosts.
Update 6/12/18: Added LinkMovement_UndoLinkMovement()
Update 6/16/18: Fixed more bugs with negative speed boost. Added compatibility for (somewhat buggy) 4-way movement.
Update 6/30/18: Fixed bug with speed boost clipping Link through push blocks.
Update 6/12/21: Finally added a fix for push block collision.
Update 1/7/24: Fixed ancient bug that was causing speed boosts to not affect spin attack charge
- Moving Link by non integer amounts
- Adding modifiers to Link's step speed
- Detecting which direction takes priority when opposing directions are held
Update 3/20/18: Updated the CanWalk function to work better with sideview.
Update 3/24/18: More tweaks to CanWalk.
Update 6/9/18: Fixed some bugs with negative speed boosts.
Update 6/12/18: Added LinkMovement_UndoLinkMovement()
Update 6/16/18: Fixed more bugs with negative speed boost. Added compatibility for (somewhat buggy) 4-way movement.
Update 6/30/18: Fixed bug with speed boost clipping Link through push blocks.
Update 6/12/21: Finally added a fix for push block collision.
Update 1/7/24: Fixed ancient bug that was causing speed boosts to not affect spin attack charge