POTION SHOP
ROLE
My Role
Engineer
My team consists of a producer, a designer, a 3D artist, a 2D artist, and an engineer. I’m an engineer and I was responsible for all the program development work throughout the entire process.
YEAR
PROJECT TYPE
January 2024 to April 2024
Aacademic
GENRE
TEAM SIZE
First-person shooter
5
ENGINE
Github
Unreal Engine 5
MY RESPONSIBILITIES
Inventory and make potion system:
This system contains three structure classes to define the variables of raw materials and mixed drugs, two data tables to define and store all raw material information and potion recipe information, an interface to define player interaction functions, two classes to implement functions for adding and storing items to backpacks and fusing potions, and five small window blueprints to create player interaction windows (storage boxes, player backpacks, and potion making interfaces).
Day night change system:
Cycle the day and night of the game level based on time and speed parameters.
Save and load logic:
This function allows the player to save all data (backpack items, chest items, gold coin count) when exiting the game, and load all local data when entering the game.
The stored data is divided into two files:
1. MyData SAV file stores the player's backpack item data, allowing the player to save the data on the drugs and potions in the player's backpack when traveling through different levels and when exiting the game.
2. TimeSaveData SAV file stores all game world data, like the player's items in the chest, the player's game countdown time and the player's number of gold coins. Each time the player re-enters the game, the game will first preload those data.
