top of page

Download and play this game on your Android device.  

(Your Android device must be Daydream ready)

Dream or Reality VR game

Nightmare or Reality is a short horror game for Google Daydream. The game takes you into a deep forest where you are stalked by an evil mask. You need to find your way out of the forest before your flashlight battery dies. The mask uses its evil magic and makes you fall asleep at random times as you play. The game has two modes, dream and reality; that both switch between the two in real time and changes game properties and game mechanics.

Game generates 1750 trees and 150 tombstones randomly in the world at the start of the game.

Game running on an Axon 7 smart phone. Game was tested using an Axon 7 and Google Pixel XL device.

This is the death scene when you die in the game. The in game camera locks and takes control of the player's camera. The background is set to black to prevent the player from experiencing dizziness when moving their head.

Your goal in the game is to find the bridge that leads out of the forest. If the player walks across the wrong bridge; the bridge breaks apart and the player dies.

Game uses precomputed visibility cells and culling volumes to maximize performance.

Tree Spawn BluePrint

This blueprint spawns 1750 trees within a volume. The trees spawn, rotate and scale randomly at play. The tombstones that spawn randomly in the world uses a similar blueprint.

Fake Camera Fade Trick

This blueprint changes the opacity of an object at the value I set it to. UE4 does not support camera fade in for mobile VR. I used a cube that has its alpha channel changed from 0-1 and back to 1 to 0 to simulate a fade.

VR Animated Alpha Trick

UE4 doesn't support animated 3D widgets using alpha channels for mobile VR. To simulate the battery icon slowly dying, I set 5 different battery icons and switched out the battery icons when they battery power got under a certain percentage.

Player BluePrint

This is the player blueprint. Because the game uses random generated objects and the game randomly picks different assets for the player to use in each game, many branches and gates are used to make sure nothing spawns when it shouldn't. Blueprint also contains flashlight hit detection, opening/closing map, compass being used or set to hidden when its taken away, sounds, etc.

Level Blueprint

This is the level blueprint. The runs in two modes, dream and reality. When the player is set to dream, different properties and game mechanics change. At the start of the game, the game needs to set certain properties to many blueprints actors in order for the player to reach the end of the game/goal. This blueprint controls how often the player falls asleep in game, Mask AI chase navigation, random mask spawn events, hit actor tags, etc.

bottom of page