A personal game project that took me five weeks to complete with Blueprint scripting. Most of the 3D assets are from Epic Marketplace and the others are the reuse of my other project.
Game Demo
Character BP
It contains multiple functions related to basic player interaction:
-Camera rotation and transition control
-3D user interface
-Mouse click and drag interaction
-Item collecting interaction
-Inventory system
Inventory System
A subsystem under Character BP that allow real-time item sorting. The newly collected item will always be put in the rightmost position by moving existing items to the left with an animated movement.
Room BP
All the rooms are oriented in size of 1 x 1, 1x 2, and 2 x 2. They shared some similar scripts, but each room is unique which stops me from inhabiting a shared father BP.
Door BP
The door uses a parent BP as a base with a lock/unlock determination function. It allows other door script shares universal function and adds unique features based on the parent BP.
Elevator BP
A simple script that allows players to control the elevator.
Sokoban puzzle
The player needs to click the correct item so it will move aside. Clicking the wrong item will result in a step back.
Charing cable puzzle
The player needs to drag the charging cable to connect it to the charging slot on the car. The script is a heavily modified spline system whose start points and end points are flipped over to make the cable draggable by the player.
Flashlight item BP
A script that uses line trace to control the facing direction of the light to follow the mouse location.
Collectible item BP
These scripts share a parent BP with a password function. In the game, these items are designed to unlock the door.
Interactable BP
A script of panel and console-like items that the player can interact with.