Reaching 50000 score points doesn't always give a 1up when the score tally is skipped #350
-
|
So, I edited the hud script so that I can skip the score tally sequence by the action or pause buttons are pressed, but for whatever reason, it won't always give a 1up when the score reaches 50000.. Sometimes it does, and sometimes it doesn't 8mb.video-Rsq-c9x659wC.mp48mb.video-mC4-5eVDS0ro.-.Trim.mp4I used the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
|
There's probably just some condition where we're forgetting to reset the 'score until free life' variable. This is minor and should be easy to solve. |
Beta Was this translation helpful? Give feedback.
Alright, spent a little time looking into it... there are a couple different situations where we check if an extra life should be earned.
First is when a score object is created, Global.check_score_life is immediately called with the value of the score object.
Second is during the end of level score tally if you have either a time bonus or a ring bonus and those count up 100 at a time.
As for how this function works, it's...
I'm finding the use of fmod instead of % here a little strange sin…