Today i successfully created two separate the lives for the players, now both die and will make the a "Game Over" font pop up. It took awhile until i found a way to make the two players separate, we played with the codes, me and Howard tried a few things like changing the else and if statements. Although it worked for the most part we didn't particularly get the "Game over" font pop-up until we have to create another object and created the codes. So i made it so that if both of the players were to die, then the Pop-up will come up, and it worked in the end. Tomorrow i will add invincibility for the game.
No comments:
Post a Comment