playerSymbols.lua
Posted: Thu Apr 16, 2020 3:12 pm
playerSymbols.lua is a script that replaces the usual ‘1UP’ sprite next to the level counter with a custom emblem specific to each character. These character emblems are accessed under the name pattern ‘icon-#.png’, where # is the character ID of the current character. This is also compatible with lifeCountPlus.lua, as long as player head icons are disabled. But at that point, why not just replace the player head graphics yourself? This can be better than lifeCountPlus.lua in certain situations, however. Firstly, it does not override the standard SMBX life counter, which greatly increases its compatibility with other scripts that involve the life counter. Secondly, it has support for all additional characters, and will have built‐in support for any character added in the future.
Images:To use it, simply add this line to luna.lua and map.lua.Download playerSymbols.lua here: https://drive.google.com/file/d/1f5CvSW ... sp=sharing
Dowloads for older versions:
Thanks to Enjl for some code used in v1.1 and above.
(Also, could someone make some icons for the extra characters? I have a Wario icon, but couldn't put together anything that looks good for the other characters.)
Images:
Spoiler: show
Code: Select all
playerSymbols=API.load("playerSymbols")
Dowloads for older versions:
Spoiler: show
(Also, could someone make some icons for the extra characters? I have a Wario icon, but couldn't put together anything that looks good for the other characters.)