top of page

Secret Escape

October 2020 - November 2020

finalproject1.PNG
finalproject2.PNG

A text adventure made after learning C++ during free time. 

Enter a room surrounded by a story as you try and find the missing pieces and discover the mystery behind it all!

​

Using Visual Studio 2019

Code of the navigation throughout the room. Players are meant to look into the text to find the object they are needing to search and examine. If there are clues to be found within the object, the player will be able to see that after looking closer at it.

finalprojectnavigation.PNG

Code showing the allocation of each object class. These class calls will be displayed throughout the code to leave less clutter and to make it easier to change text, all being in the same area at the top of the function.

finalprojecttext.PNG

Code of the inventory mechanic, allowing items found to be displayed and interacted with. When the inventory is called throughout the room, it will also take in the current objects item that can be used on it. The inventory will read the item the user selects and compares it with the item that can be used. If they are the same, the interaction will succeed.

finalprojectinventory.PNG

Code of the notepad mechanic. This function will read out all of the players notes on separate lines and allow them to write more. This will be stored on an external file that it reads and writes to as the player adds text. This is to help them write down clues throughout the game.

finalprojectnotepad.PNG

©2024 by Scarlet Blackwell

bottom of page