Sean-Nishi / M1Wengine

A action-adventure game developed with Python 3.11.1 and pygame. Complete missions before timer expires.
3 stars 0 forks source link

Implement timer on HUD #355

Open owalk opened 10 months ago

owalk commented 10 months ago

For defend the hill levels, have a countdown on the HUD for the level end condition of the time has expired

Add method to hud to display timer countdown within a BG box

Sean-Nishi commented 10 months ago

For defend the hill level type, in init() add in textbox to display the countdown. Value is updated within level.py or sub_level.py. Within HUD, need setter/getter for value to display. HUD updates with update method Within level.run() pass HUD in updated param. ex HUD.value = new_value