Posted January 30, 2020 by Elvyn Leviste
Just finished fixing a few more bugs. I had some issues with the ladder/win condition. It would give me the win screen even though I didn't I didn't get all the blocks to turn red. Turns out, there was an issue with the math where I had
if(lavaTiles >= tileCount - (numberOfobstacles -1) ) rather than if( lavaTiles >= tileCount - numberOfObstacles -1)
The first one equaled to 0 which gave me problems. Instead I just took out the numberOfObstacles from the equation and added steps for when I spawn my obstacles. Also I added two tutorial stages. They're extremely simple!