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: 123
|
View Script
Download Script (5.02 KB) |
Information
A header for moving Link by subpixel amounts.
Description Setup Reviews Comments
hideous_kojima
Edited 16 June 2018 - 03:46 AM
Me likey, now that my Zelda Classic distro can handle it! That said, I have some concerns... possibly good jumping-off points for future improvements:
1. Works beautifully for 8-directional movement, but what about 4-directional movement? Some real buggy stuff happens there haha!
2. Walking against walls when Link is set with a negative speed boost causes Link to "fuzz out", almost as if his sprite is anti-aliased.
3. Not much of anything along the lines of documentation, aside from the Setup tab here...
4. In LinkMovement_UpdateInput(), I noticed you're using Link properties PressUp, PressDown, PressLeft, and PressRight sometimes...though I haven't seen them in any current ZScript documentation. I only know of InputUp, InputDown, InputLeft, and InputRight. Are they deprecated, or still valid but undocumented on ZCWiki, etc?
1. Works beautifully for 8-directional movement, but what about 4-directional movement? Some real buggy stuff happens there haha!
2. Walking against walls when Link is set with a negative speed boost causes Link to "fuzz out", almost as if his sprite is anti-aliased.
3. Not much of anything along the lines of documentation, aside from the Setup tab here...
4. In LinkMovement_UpdateInput(), I noticed you're using Link properties PressUp, PressDown, PressLeft, and PressRight sometimes...though I haven't seen them in any current ZScript documentation. I only know of InputUp, InputDown, InputLeft, and InputRight. Are they deprecated, or still valid but undocumented on ZCWiki, etc?