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
Would be better with a star-like jingle to show it's temporary
Change the sprite. It looks too much like a normal 1-up
Maybe make a boost panel form?
Re: Speed Shroom API
Posted: Sat Jun 24, 2017 7:30 am
by TDK
Benial wrote:Looks nice!
Feedback
Should have a shorter timer
Would be better with a star-like jingle to show it's temporary
Change the sprite. It looks too much like a normal 1-up
Maybe make a boost panel form?
Thanks for the feedback.
You can edit the timer and the sprite.
Re: Speed Shroom API
Posted: Mon Jun 26, 2017 5:26 pm
by timocomsmbx2345
Oh yeah, i want to see a powerup where you can shoot a fireball and an iceball at the same time.
Also, nice work; i'm gonna try and use custom power ups in my episode.
Re: Speed Shroom API
Posted: Mon Jun 26, 2017 5:41 pm
by TDK
timocomsmbx2345 wrote:Oh yeah, i want to see a powerup where you can shoot a fireball and an iceball at the same time.
Also, nice work; i'm gonna try and use custom power ups in my episode.
I noticed that you mention shooting a fireball and iceball at the same time. How would that work exactly?
Re: Speed Shroom API
Posted: Mon Jun 26, 2017 5:50 pm
by timocomsmbx2345
it shoots 2 projectiles at once
Re: Speed Shroom API
Posted: Mon Jun 26, 2017 6:02 pm
by timocomsmbx2345
can yo change the speed of mario itself when yo get the speed shroom?
Re: Speed Shroom API
Posted: Mon Jun 26, 2017 6:06 pm
by TDK
timocomsmbx2345 wrote:Oh yeah, i want to see a powerup where you can shoot a fireball and an iceball at the same time.
Also, nice work; i'm gonna try and use custom power ups in my episode.