itch.io is community of indie game creators and players

Devlogs

Week 2 | Dev Log | Jamie Pasnin

SGD 300 FPS RPG
A downloadable game

Week 2 | Development Log | FPS RPG

Creating Health System

Introduction

This week I was tasked to create a health system script with public functions that can be utilized by other team developers. Additionally, tasked myself to create a health bar User Interface artwork and Prefab.

Goals

The following are the primary goals for this week.

  1. Research methods as to how to implement a health system within Unity.
  2. Create health system script with:
    1. Variables such as health and max health.
    2. Public Functions that other team developers can use to communicate with the script to implement health on characters.
  3. Create health User Interface artwork.
  4. Implement health User Interface artwork within Unity and save it as a Prefab for use for other team developers.

Personnel

The following is the primary author and any secondary authors who assisted in completing the set tasks given this week. 

  • Primary - Jamie Pasnin
  • Secondary - N/A

Technologies, Tools, and Resources Used

The following are the technologies, tools and resources used to assist in completing the set goals this week.

Key Tasks Undertaken

The following are the key tasks that were taken to help a developer/reader understand how the tasks were completed.

  • After completion, I then pushed my work onto Jamie_Pasnin branch on SourceTree.

What I Found Out

The following is any particular lessons learned this week.

  1. Learned a new method for implementing a health system as a separate module within Unity.
  2. Learned how fillAmount function works within Unity.
  3. Learned how to improve my organisation and formatting of my code with adding [SerializeField] and tool-tip for each variable.

Open Issues/Risks

The following is a list of any issues or risks that were unable to be resolved that caused tasks to not be completed this week. 

  • No issues or risks were presented that caused tasks to not be completed. 

Solution Justification

The following describes why I chose the solution that I did to complete the goals set this week. 

When I began my research for the purpose of finding effective methods for creating a health system, I found three tutorials with similar methods but slightly different execution. I chose the third YouTube video by Brackeys because his tutorial covers the broad range/ big picture of how to create a health system and as mentioned covers how to implement health UI to characters within the world. 

For the health User Interface I chose to copy the Borderlands 3 design of the health bar and icon because the game is at prototype phase and this design will be used as a base sample that can be polished and improved upon in the future.

Leave a comment