williamfiset / FruitFever

Fruit Fever adventure game by Micah Stairs and William Fiset
5 stars 2 forks source link

Fruit Ring Label #92

Closed micahstairs closed 10 years ago

micahstairs commented 10 years ago

It is doing some weird things.. The totalFruitRings go to 0 sometimes, and it doesn't seem to be resetting when you go to the main menu. I'll look into this.

williamfiset commented 10 years ago

Micah, how could you?!?! A division by zero! That is the biggest sin ever created in the world of mathematics. It must be fixed with haste!

screen shot 2014-06-06 at 12 03 42 am

micahstairs commented 10 years ago

I think that you moved a bunch of statements around in FruitFever.loadLevel(), presumably when you added "player.setMovementDirection(Player.MovementDirection.NONE);" This set totalFruitRings to 0 after it had been set when it loaded levels.txt.