customPowerups.lua - One more powerup framework! [v1.2]
Posted: Mon Feb 05, 2024 11:44 am
Wanted to create SMBW powerups but anotherpowerup had some issues with reserveBox which I was unable to fix, so I ended up doing my own powerup system with a bit of code from anotherPowerup.lua.
GIFs:
How is it any different from anotherpowerup?
- Multiplayer compatible
- Replaces a single powerup
- Replaced powerup doesn't need to be recreated
- Uses custom forced state IDs
- No custom powerup tiers
Can anotherPowerup powerups still be used?
- Yes, this library has compatibility functions. The only things that won't work are custom powerup tiers.
- You can find "local ap = require("anotherPowerup")" and change it to "local ap = require("customPowerups")" and things should work by default.
- Unfortunately, Captain Monochrome's powerups use a modified version of ap so they can't be properly used with this.
Credits:
Known Bugs:
- Powerups may sometimes flicker in the reserve box for one frame.
- Characters may flicker on the vanilla map for one frame.
Included Powerups:
- Drill Mushroom
- Bubble Flower
Changelog:
v1.0 - First release
v1.1 - Some bugfixes, now works on the map.
v1.2 - Major bugfixes, costume support, support for other scripts (respawnRooms, customReserve), added cheats, forced state effects, mega shroom stuff
Download:
https://drive.google.com/file/d/1ZoWnn4 ... sp=sharing
GIFs:
Spoiler: show
How is it any different from anotherpowerup?
- Multiplayer compatible
- Replaces a single powerup
- Replaced powerup doesn't need to be recreated
- Uses custom forced state IDs
- No custom powerup tiers
Can anotherPowerup powerups still be used?
- Yes, this library has compatibility functions. The only things that won't work are custom powerup tiers.
- You can find "local ap = require("anotherPowerup")" and change it to "local ap = require("customPowerups")" and things should work by default.
- Unfortunately, Captain Monochrome's powerups use a modified version of ap so they can't be properly used with this.
Credits:
Spoiler: show
Known Bugs:
- Powerups may sometimes flicker in the reserve box for one frame.
- Characters may flicker on the vanilla map for one frame.
Included Powerups:
- Drill Mushroom
- Bubble Flower
Changelog:
v1.0 - First release
v1.1 - Some bugfixes, now works on the map.
v1.2 - Major bugfixes, costume support, support for other scripts (respawnRooms, customReserve), added cheats, forced state effects, mega shroom stuff
Download:
https://drive.google.com/file/d/1ZoWnn4 ... sp=sharing