compsci-godot-arpg/cho1/lesson-13.org
2025-01-21 04:41:12 +02:00

1.4 KiB

Lesson 13: Player Health | part 1

Notes

intro

  • first of two episodes
  • add health to player
  • create gui

player health

  • in player script add variable for health
var currentHealth: int = 3
  • decrease health every time player enters a hit box