The first test about the interaction part is mainly the dialogue with NPC.
At present, I use click interaction and press F to interact. There is a collision body on the NPC. When the player clicks on the collision body, it will trigger the NPC dialogue. If it is F, when the player’s collision body and the NPC collision body are combined, pressing F will trigger the dialogue.
After the first game test, we confirmed that this system is feasible, and the next interactive system is the backpack system.
We have two choices about the backpack. One is the independent ui of the backpack, and the other is to press E, and a row of backpack grids will appear at the bottom of the screen. Players can directly drag the objects in the backpack to the scene to use.
Because players need to interact with the props in the scene, we chose the second plan. Players can drag the screwdriver from the backpack to the scene or hoop and buttons.
