A semisolid platform that starts moving in a certain direction when Mario steps on it, and then it changes direction every time Mario steps on it again. The current direction is shown by an arrow in the center of the platform. It doesn't interact with other sprites or with objects.
Optionally, you can set a timer that activates when the platform starts moving and makes the platform disappear when it reaches 0.
Some properties can be changed in the asm file (speed, order in which the directions change) while the timer is set by the "extension" field in the sprite insertion dialog.
More information can be found in the asm file.
Works fine. There are some instances where the code could have been improved (e.g. preserving Y in the main code even though that's outside of the GFX routine freely usable, checking for the extra bit first and then the interaction) but aren't really major. I also have noticed a graphical glitch where the platform's tiles are shifted a bit upwards but that's really minor and somewhat hard to notice but again, nothing really major.
@Romano338 NP! I've just changed how the timer is set, it's not from the cfg anymore but you can do it directly in LM with the extension field, so it's more convenient to do and allows for values from 0000 to FFFF
PS. If you reinsert the sprite with this update, make sure to remove it first from the level, because otherwise the levels in which it's used will be messed up.
@GreenHammerBro @Romano338 I've added that feature, if the extra bit is clear the timer will always tick. Also now the timer is set with the 2nd extra byte so you can have different timers inserting only one sprite
Would be cool to have an option that the platform automatically disappears on a timer that doesn't reset when getting back on the platform (so you cannot refresh the platform.) This happened to the original SMB3.
They remind me of the Elevator Sprite Blocks. I think someone needs to combined them. If Mario Steps on the blocks, the platform will appear. And if he steps on the block again or another one, the platform will disappear and start over.