top of page

Health Component, Respawn UI Mechanic Idea

  • Writer: Janice
    Janice
  • Mar 14, 2024
  • 1 min read

Mechanic Diagram:

Flow Diagrams:


  • The character will active damage when it interacts with a trap

  • Character set if received damage will respawn to start position

  • Health UI update according to link with current player health value

  • Current health -1 will fire UI image -1

(Diagram tool : draw.io)

Class Diagrams:


  • Take damage function located in the health script contains the player's max health and current health

  • UI update using image array and link with current health value

  • Won't need extra calculation or function for UI update (Diagram tool : Mermaid Diagramming)




Comments


Janice Game Portfolio

  • itchio-logo-textless-black
  • Linkedin
  • Youtube
bottom of page