Posts

Showing posts from March, 2020

Metroidvania Month 7 Day 21

Image
I don't think I'm going to make it.  I'll drop out of Metroidvania Month if I can't get anything playable by then, but I will continue to work on this game. So, I started to get back into things by just modifying the SaveFile class.  I figured that I might not want to reload the Player's Health and Ammo every time they reload the game.  It would have made it very easy to cheat the game:  get to a Save Room by a boss, save, refresh the page to restart the game, load the old Save Slot, and you're now at full Health and Ammo.  Now the SaveFile has the hp, filledTanks, and heldMissles to keep track of the Player's Health and Ammo to help avoid that cheat. While I was editing the SaveFile class, I also figured I should refactor the way I keep track of explored areas.  My original idea was to have a new field in the SaveFile and that field would be a 2D Array for each Area.  That means to set if the Player has visited a spot on the "map" for the Test...