itch.io is community of indie game creators and players

Devlogs

1/28/20 - Devlog 5

Falling Blocks
A browser game made in HTML5

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!

Files

  • Lava.v14.zip 4.1 MB
    Jan 26, 2020
Leave a comment