itch.io is community of indie game creators and players

Devlogs

Devlog #3: UI and Weapon animation

Lab Escape
A browser game made in HTML5

1. Overview

The changes include a Health Bar and Ammo Count UI, along with muzzle flash and recoil for the player's weapon.

2. Health Bar and Ammo Count UI

  • Goal: To provide feedback to players on their current health and ammo status
  • Implementation:
    • Used Unity's Canvas/Image/TexMeshPro to create a dynamic health bar that decreases as the player takes damage.
    • Created a text-based ammo counter next to the health bar that updates when the player fires or reloads.
  • Challenges:
    • Adjusting the health bar animation to match damage accurately took several attempts, especially to ensure the transition looked smooth and responsive.
  • Next Steps:
    • Consider adding animations to highlight low health or ammo, increasing urgency for the player.

Files

  • zombs0.3.zip 37 MB
    Oct 29, 2024
Leave a comment