A simple esacpe game demo based on Unreal4 Game Engine.
This is a very simple building escape game demo made by Unreal4 Game Engine.
In this demo, player needs to open two doors and escape the room. Player can use wasd
or arrow keys to move and use mouse to change views. Additionally, player can use right mouse button to grab or release objects in the scene(button pressed to grab and button released to release).
I use Unreal4.25.4 and Visual Studio code for this project under Windows 10 environment.
Unreal download
Visual Studio 2019 download
Visual Code download
-
Download this repo, open(or unzip and open) the Unreal4_Escape-Room-Demo folder.
-
Double click the BuildingEscape.uproject file.
-
Let the Unreal Game Engine rebuild the demo.
The whole project in Unreal contains 2 main folders, Content folder and C++ Classes folder.
Under Content folder, there are altogether 5 subfolders:
-
Blueprints folder: contains a Blueprint Class which called DefaultPawn_BP indicates the modified default pawn class.
-
Levels folder: contains the demo's level.
-
MedievalDungeon folder: contains all 2 objects we need in this demo.
-
Sound folder: contains the door open/close sound file
-
Models folder: contains all models we need in this demo which has 4 subfolders:
5.1. Instances folder: contains 5 material instances we need in this demo such as
MI_Door
,MI_Wall
and so on.5.2. Materials folder: contains 5 materials we need in this demo such as
M_Brass
,M_Cell
and so on.5.3. StaticMeshes folder: contains 2 static meshes we need in this demo. They are
SM_DoorFrame
andSM_Door
.5.4. Textures folder: contains 4 textures we need in this demo such as
T_Cell_BC
,T_Door_BC
and so on.
Under C++ Classes folder, there is one subfolder BuildingEscape which contains 2 C++ classes: Grabber
and OpenDoor
.