![](https://cdn.myportfolio.com/6d6c2dd0-87f8-41e1-9e91-5f07aa9e9d78/4e47dfc2-4202-475f-84ef-3c04b185202d_rw_1920.png?h=e91ace050b95e532bdcbe3ff887303bf)
Product Development
Package Deal is a survival-based video game that I built using Unreal Engine (UE4), the world's most open and advanced real-time 3D creation tool for Photoreal Visuals & Immersive Experiences.
The player's mission is to survive as long as possible through day & night, finding in-game items to assist in resource management.
Core game design elements focus on the following video-game mechanics:
• Heads Up Display (HUD), Clear Objective, & Survival Time
![](https://cdn.myportfolio.com/6d6c2dd0-87f8-41e1-9e91-5f07aa9e9d78/0a07479b-7625-4184-9c84-02a1d3c85064_rw_1200.png?h=99ac294d8bfd612296d16ed85496b583)
Design Elements
Heads Up Display (HUD)
The graphical & text elements the player sees on the screen are the following metrics:
• Objective
• Hunger
• Stamina
• Flashlight Battery Power
• Survival Time
![](https://cdn.myportfolio.com/6d6c2dd0-87f8-41e1-9e91-5f07aa9e9d78/bc039e63-03f8-4855-95ac-77061ac72522_rw_1920.png?h=668f96d41a66dd8d0dbfa23d08cb7963)
Heads Up Display (HUD)
The Process
I created the 'Hunger', 'Stamina', and 'Battery' meters on the left side by layering two pictures on top of each other. The pictures simply being colored rectangles.
Then, I utilized Unreal Engine's 'ProgressBar' function, which allows me to take the first image's layer and manipulate the opacity from right-to-left until it becomes an empty (faded colored) bar or regenerate it from left-to-right to fill up the bar.
Depletion
• The 'Hunger' Bar depletes little by little every few seconds.
• The 'Stamina' Bar depletes while the player is running (when player is holding the 'shift' key).
• The 'Battery' Bar depletes while the player is using the flashlight (when player toggles 'F' key).
Regeneration
• The 'Hunger' Bar regenerates when the user finds 'food crate' game items that spawn across the map.
• The 'Stamina' Bar regenerates when the user is not running around (when player is not holding the 'shift' key).
• The 'Battery' Bar regenerates once the player finds 'battery crate' game item that spawns on the map.
![](https://cdn.myportfolio.com/6d6c2dd0-87f8-41e1-9e91-5f07aa9e9d78/fef9694a-4332-4372-9510-46864a5674e0_rw_1920.png?h=34e214593898749ae720115df69ef468)
Progress Bar Mechanics
Hunger Mechanics
I created logic-based functions using Unreal Engine's 'Blueprint Visual Scripting', which is an alternative approach to hard-coding in C++ or other languages.
The 'Hunger' blueprint asks the following question in order to get a true or false answer:
• Is the player's health greater than a value of one?
• True - Hunger Bar is drained a fixed amount over time.
• False - Hunger has reached zero and game is ended.
![](https://cdn.myportfolio.com/6d6c2dd0-87f8-41e1-9e91-5f07aa9e9d78/df8642fd-debf-49a7-8129-39be94777647_rw_1200.png?h=f878049776f667943841aaab7950c093)
Hunger Blueprint
Stamina Mechanics
The Stamina mechanics work the same way, using logic-based principles that can track gameplay metrics.
The 'Stamina' blueprint asks the following questions in order to get a true or false answer:
• Is the player running? (holding the 'shift' key)
• True - Stamina Bar is drained a fixed amount (system checks to see if value is greater than one).
• False - Stamina is not used.
• Is the player's stamina greater than a value of one?
• True - Good. This condition acts as a confirmation to the user holding the 'shift' key.
• False - Stamina cannot be used.
![](https://cdn.myportfolio.com/6d6c2dd0-87f8-41e1-9e91-5f07aa9e9d78/6e5f6247-4815-4059-86e4-5984e1c35102_rw_1200.png?h=8041376f9d353efc870a35e987fed6d1)
Stamina Blueprint
Flashlight (Battery Power) Mechanics
The Flashlight function works the exact same way as the Stamina function.
The 'Flashlight' blueprint asks the following questions in order to get a true or false answer:
• Is the player's flashlight on? (pressing the 'F' key)
• True - Battery Bar is drained a fixed amount (system checks to see if value is greater than one).
• False - Battery is not used.
• Is the player's flashlight greater than a value of one?
• True - Good. This condition acts as a confirmation to the user holding the 'F key.
• False - Battery cannot be used.
Item Mechanics
There are a total of three (3) distinct game items that spawn in the game environment.
• Big Health Crate
• Big Health Crate
• Restores player's hunger significantly, this item is the most scarce within the game.
• Small Health Crate
• Restores some of the player's hunger, this item is a bit more common within the game.
• Battery Power Crate
• Restores all of the player's flashlight battery.
![Big Health Crate](https://cdn.myportfolio.com/6d6c2dd0-87f8-41e1-9e91-5f07aa9e9d78/5241907b-1a8a-43d4-b727-c95be86e079e_rw_1920.jpg?h=88c62b325f7441a3599e7ff9643b9fec)
Big Health Crate
![Small Health Crate](https://cdn.myportfolio.com/6d6c2dd0-87f8-41e1-9e91-5f07aa9e9d78/c45ce0ea-b858-4a49-a20b-98d5a84080b2_rw_1920.jpg?h=161cd0c9f07840841533ba1d91d62e7a)
Small Health Crate
![Battery Crate](https://cdn.myportfolio.com/6d6c2dd0-87f8-41e1-9e91-5f07aa9e9d78/f2cab889-e99a-4f3b-879e-c4c0e8791b30_rw_1920.jpg?h=cb30fd0a6e13e8ec70c545ef850812d0)
Battery Crate
Gallery
![Game Cover](https://cdn.myportfolio.com/6d6c2dd0-87f8-41e1-9e91-5f07aa9e9d78/02968545-2738-4d86-b475-d2384a034512_rw_1920.png?h=1e22b87b2b63bb5ff3f10bfe37169cc9)
Game Cover
![Objective](https://cdn.myportfolio.com/6d6c2dd0-87f8-41e1-9e91-5f07aa9e9d78/3f1a6e3c-6988-4d87-a8a1-65d5c010c6f5_rw_1920.png?h=e3c8bd9d80ec8ea7e15eafa0520769ca)
Objective
![Sprint Instructional Tip](https://cdn.myportfolio.com/6d6c2dd0-87f8-41e1-9e91-5f07aa9e9d78/6a001fc5-9a67-4be8-8cd5-41b1d9fad26e_rw_1920.png?h=ce37d0ca71ea965af9592a9d8cb7c0fa)
Sprint Instructional Tip
![Flashlight Instructional Tip](https://cdn.myportfolio.com/6d6c2dd0-87f8-41e1-9e91-5f07aa9e9d78/9dd2a9e9-ba72-4602-ac97-ccc0034cb870_rw_1920.png?h=879383d6fefe320105190ec25cf98e2e)
Flashlight Instructional Tip
![Game Over](https://cdn.myportfolio.com/6d6c2dd0-87f8-41e1-9e91-5f07aa9e9d78/66f50640-c1be-4cab-ac0e-9c261f401c9c_rw_1920.png?h=c72fcd880b90a6cc4ece8685cf37f119)
Game Over
![Scenery 3 (Overview)](https://cdn.myportfolio.com/6d6c2dd0-87f8-41e1-9e91-5f07aa9e9d78/ee68d1c4-8b5a-4b2f-bbf6-a7d197fa3bcc_rw_1920.png?h=4b6b69a3f77795be54067db4d80f98ab)
Scenery 3 (Overview)
![Scenery 1 (Riverside)](https://cdn.myportfolio.com/6d6c2dd0-87f8-41e1-9e91-5f07aa9e9d78/d08c4eef-8ec5-4326-8c62-2aa9127bd387_rw_1920.png?h=4aab7785b370cbb5ffe6065decfdcf51)
Scenery 1 (Riverside)
![Scenery 2 (Forest)](https://cdn.myportfolio.com/6d6c2dd0-87f8-41e1-9e91-5f07aa9e9d78/d6e5d63f-1c58-4912-85ef-d6a03a860791_rw_1920.jpg?h=3919d7ee463e63d67eb6ae27cbdc8c9b)