Here's a small API that's uses mushrooms as speed powerups.
How to use:
1. First put everything in this folder into your level's folder.
2. Make a lunadll.lua file.
3. Then type:
local speed_shroom = API.load("speed_shroom")
Addition things:
- The speed shroom replaces NPC-184, which is the SMB1 mushroom. If you want it to replace another NPC, just change the value speed_shroom.id.
For example, if you want it to replace the SMB3 mushroom (NPC-9), you would type speed_shroom.id = 9
- You can edit how long the speed boost will last by changing the value of speed_shroom.max.
So if you want it to last for 10 seconds you would type speed_shroom.max = 650
Here's an example level.
Download and enjoy:
https://www.mediafire.com/?3dqqllyk3j8h47t










