Modernstyledhud.lua Star coin counter.
Posted: Fri Aug 23, 2019 11:57 pm
by FlyingGym
I've noticed that There is no display of Star coins when this addon is used,but how could it be made and displayed? I know the creator doesn't include it with the script. (
https://wohlsoft.ru/forum/viewtopic.php?f=89&t=1984)
Re: Modernstyledhud.lua Star coin counter.
Posted: Sat Aug 24, 2019 5:55 am
by Enjl
The developer disables the default hud entirely, so with the way it's programmed, the star coin counter would have to be remade from scratch. This CAN be done manually by accessing the table SaveData._basegame.starcoin[Level.filename()]. Looping over the table, reveals a list of true/falses which can be used to draw star coin state. There's also SaveData._basegame.starcoinCounter for a total count.