Open KormexGit opened 6 months ago
I have lost an embarrassing amount of time to this mistake:
moveX = lengthdir_x(spd, dir); moveY = lengthdir_x(spd, dir);
Have feather save me from myself by giving some sort of warning if it detects that I've used lengthdir_x where I should have used lengthdir_y.
A warning for stuff like this could also be nice:
x = oPlayer.x; y = oPlayer.x;
It should NOT give a warning for adding two lengthdir together though, so it shouldn't just check for lengthdir_x appearing twice in a row
moveX = lengthdir_x(spd, dir) + lengthdir_x(knockbackSpd, knockbackDir); //all good, no warning here
No response
AMAZING feature idea - this has tripped me up too many times as well as a lot of other people.
Is your feature request related to a problem?
I have lost an embarrassing amount of time to this mistake:
Describe the solution you'd like
Have feather save me from myself by giving some sort of warning if it detects that I've used lengthdir_x where I should have used lengthdir_y.
A warning for stuff like this could also be nice:
It should NOT give a warning for adding two lengthdir together though, so it shouldn't just check for lengthdir_x appearing twice in a row
Describe alternatives you've considered
No response
Additional context
No response