2022/3/2
In this Collaboration project, I will be responsible for programming in UE4. According to the functions that need to be implemented, I divide the main programs that need to be written into the following pieces:
1. The interactive prompt UI displayed by the trigger
Since this is a horizontal game, the character doesn’t actually touch the objects that need to be interacted with, so I need to make additional collision boxes in the specified range.
Whether the UI is displayed or not is judged by whether the character overlaps the collision box.
The gradient display and disappearance of the UI is achieved by assigning dynamic materials and controlling the visibility of the materials.



Regarding the UI design, since the whole scene is dark, I use white as the main color of the UI. Feather pens and cursive characters are used to highlight the elements of the era.
2. Acquisition and placement of objects
Considering that the puzzle solving process at each stage is not too long, I did not choose to make an item bar system. So I just need to add specific variables in the background to tell if the object is obtained.
I also used dynamic materials and controlled the visibility of the materials to make objects disappear and appear.
3. Dialog
Conversation is presented by interacting with objects. First of all I need a series of dialogue content, depending on whether the variable of a specific object is obtained or not, to determine whether a specific option appears.

Ziyao Zhu helped me translate the conversation.
The design of the border takes elements of the era and renders it in white.
4. Other
Insert videos, level transitions, and more.