Quick bug Fixes (Patreon)
Downloads
Content
Okay this is a quick bugfix update so I thought I would chat quickly about a couple bugs I’ve managed to fix.
So the first error was in the item drops from ghosts. This was a classic error in using integers and floats to calculate percentages. One code change I made dropped a tiny little f from the end of my number turning it into an integer and not a float. The effect was that any drop who’s probability was less than 100 percent would round to 0. It took longer than I’d like to admit to track this down :D
The other bug was some players unable to do damage or having very low damage values. Honestly this one is very strange. So inside the project is a file that controls difficulty. On start it loads the file and unpacks the difficulty. This way I can more easily update changes to the project so only one tiny file has to change.
If this file fails, all the values are supposed to become a flat 1. However, for some people these numbers are all over the place. Which means the file is loading but it’s being interpreted wrong. I’m going to have to look more deeply at this issue. But it looks almost like platform differences are changing the way this file is interpreted or the zipping/uploading process is damaging the file and changing some of the values. Trying to track this down was taking tooo much time so for the moment I’ve just hard coded the values. I can come back at a later date to try and fix this issue.
Also I’ve attached an updated item spawn document. This one has been ordered by item type. A huge thank you to Nodle for doing this for me!
So a new build should be live with these updated fixes. Just use the previous link to access the builds.
https://gauche-cheeks.itch.io/littleington-university/patreon-access
I’ve also nerfed one of the boss ghosts attacks because when I was testing it was a bit overpowered. I’ll keep balancing as time goes on but these were some quick fixes I wanted to get out quickly.