Design the Diving Mask in Aesprite. I recommend choosing the 16px by 16px resolution for all items that you add in the game.
Implement DivingMaskItem class and it's functionalities. Before starting the implementation, add a comment to this issue with the exact functionalities you want to implement for the Diving Mask. Take notes on the algorithm you design for each functionality.
E.g. Player can breathe more under water. -> Detect if player is in water. Start time counter. For each 80 ticks, remove one air bubble.
Note that this is the most basic example I could come up with. You should be able to provide a more detailed algorithm once you start implementing the functionality of the Diving Mask.
Design the Diving Mask in Aesprite. I recommend choosing the 16px by 16px resolution for all items that you add in the game.
Implement
DivingMaskItem
class and it's functionalities. Before starting the implementation, add a comment to this issue with the exact functionalities you want to implement for the Diving Mask. Take notes on the algorithm you design for each functionality.E.g. Player can breathe more under water. -> Detect if player is in water. Start time counter. For each 80 ticks, remove one air bubble. Note that this is the most basic example I could come up with. You should be able to provide a more detailed algorithm once you start implementing the functionality of the Diving Mask.