vulpineblaze / framework_demoes

Use this repo to demo different frameworks for 2D Game creation.
2 stars 1 forks source link

HUD kills not updating correctly #31

Closed vulpineblaze closed 9 years ago

vulpineblaze commented 9 years ago

currently HUD kills only update upon player death

HUD kills should show only enemy death tally.

vulpineblaze commented 9 years ago

Saurothrop script was calling Destroy() directly during the creation of the 5-wedges dying code.

Changed code to call Damage(999) to let healthscript run the destroy routine that increments enemiesKilled.