anas-abudaqa / TestingGodotOut

Testing out godot by making a 2D sidescroller platformer with some metroidvania elements
1 stars 0 forks source link

Optimize health and shield component #4

Closed anas-abudaqa closed 8 months ago

anas-abudaqa commented 8 months ago
anas-abudaqa commented 8 months ago

removed all but 2 signals, health_changed and shield_changed. Each emit the current and max health or shield values respectively. Edited rest of code to accommodate this

decided not to change current shield and damage interaction