Update:
This now applies to pipes (except upward facing ones) and doors. You have to be on the same level as the warp pipe and be grounded, so if you don't align to grid some jank will probably happen.
Demo:
I'm disappointed this isn't in the base game, but whatever.
This addon locks your up key if you are close to a door and are airborne, in effect making it impossible to enter.
The check boundary is fairly big, and I'm sure some jank will arise.
Here's the link.
Also does the same underwater, don't @ me I checked with SMM2.
should of put this in at first but to add this, drop the file in your local or episode folder and write this in your luna.lua:
I believe this is not in basegame/no other people have done a similar script to this one yet because we have got so accustomed to SMBX's physics that we probably don't want them to be able to change, but I believe this would help a lot in making Mario Maker like inspired levels or special kinds of puzzles. Good job!
Does this also work on sideways pipes? Once we have episode-wide settings this might be fun as a basegame option (alongside things like walljump, screen resolution, etc...). Opens up some fun setup ideas for sure, thanks for make!
No, this only checks for doors. I'll check with SMM2 if you can enter sideways pipes
Video SOON™
In official mario titles, the only non-instant warp you can enter while airborne is the upwards facing pipe. The three other pipe directions and the door require you to be on the ground.
fixed the sideways pipes
you have to be inline with the warp, so if you are 50 units lower than the warp you cannot enter it
keep this in mind while making levels
update as soon as video is recorded
Added in 38 minutes 43 seconds:
updated check top post