Project repository: https://github.com/Gabryxx7/TheTower
First person puzzle game
Inspired by Antichamber
Unrealistic levels
Minimal, low poly graphics
Levels designed for HTC Vive
The Tower idea:
Levels are connected by an elevator
Completing a level will open elevator doors
class GameManager
{
var mIsVROn;
var mGameStatus;
var mCamera
var mSoundManager;
var mInputManager;
var mAnimator;
...
XVRRendering(eye);
Render();
UpdateLogic(dt);
};
class InputManager
{
var mIsVRon;
var mManager;
var mCamera;
var mPreviousCameraPosition;
// Public functions
UpdateCamera();
UpdateControllers();
IsPressingPrimaryButton();
IsPressingSecondaryButton();
IsGripPressed();
GetController();
HasPressedMenuButton();
VibrateController();
GetPlayAreaSize();
};
Depending on the input device found the input manager will manage input from:
Each level has a predefined structure
class Level {
/* Variables */
Init();
Render();
UpdateLogic();
IsPointedPositionValid();
DrawHUD();
IsLevelCompleted();
SetupOpenglLights();
/* Level-specific functions */
};
function Level::Level{}
Common classes:
This level will show a list of all the levels allowing the player to choose one of the levels to play.
Classes used:
Pecularities:
A room with a 4-way portal cube where each side shows a different view
Pecularities:
Drawing Level. The player will have to connect the light cones by drawing in the air
Classes and Shaders:
Pecularities:
Drawing Level. The player will have to connect the opposite light cones by drawing in the air
Classes and Shaders:
Pecularities:
The player will have to walk through 5 coloured paths that will move each set of colored flying objects to form a code digit
Classes and Shaders:
A room with 4 walls full of blocks. Pressing all of the extruded blocks will open the elevator
Peculiarities:
Classes and Shaders:
FPS Style. Targets will randomly spawn around the room. Shooting them without getting player life to 0 will unlock the elevator
Classes and Shaders:
Final Level. Flying object and numbers will move according to player movements. Typing the correct code will unlock the ending game animation
Pecularities:
Classes and Shaders:
FrancoDLL.dll
XVR - OpenVR interaction
Project repository: https://github.com/Gabryxx7/TheTower