Five Nights at Freddy’s Fan Game, Free Roam! ~Overnight

Well, I made  A five nights at freddy’s fan game (A remake of another game but with a twist), called “Overnight” Because I decided to take a break from behind XD

Foxy_NEW

You can download both mac and PC versions here (It doesn’t need the Oculus rift but I may add support for it soon)

Download Here

Keys – use arrow keys or WASD to move around, mouse to look around, shift to run, click on the red button to close doors, green ones to turn the lights on and off. The doors use power and you do not have much! Can you last until 6am?

Five nights at Freddy’s is a very unique horror game which takes a step away from clichés. For me, this game throws all my fears at me-

  1. Creepy animatronic character robot things in a kids pizza restaurant  ( That should explain it all :D)
  2. Having Them Chase you with haunting footsteps creeping up behind you

The Way Five nights at freddys works is you are a security guard in a kids Pizza Restaurant and you have to monitor them on security cameras but as you can imagine they obviously do not want to stay in the same place. They want to come after you and stuff you into metal suits until your eyes and feet pop out the bottom! YAY!

Here is a lets play this game, But he was having a problem when some of the robots were walking through doors! Don’t worry that’s been fixed in the latest update!

 

First Post!

Hello! This is the first post on what I hope will be a regular blog! The aim to post updates on development of my games. At the moment am working on “Behind” a virtual reality game for the oculus rift. I will do a version for normal monitors too.

Okay, Today I worked on The “Bedroom Sequence”  and The “Dining Room Sequence”

You can see the videos on my Youtube Channel and Below-

Note to learning Developers-

The way I did the locked doors in my games is the following-

I have two Prefabs, one door that Opens and one door that is locked both in the same place, only One Active. ( e.g if I wanted the door to be locked I would Keep the locked door active and the Unlocked door Un-active. (If any one wants a post about how to make a door Open I will reply to you when I have time) Here is the Code I Made-

Attach to your Key Object-

*Make Sure you have A Box collider attached to the key Object, and check the “Is Trigger” and Make it big enough for the range :D*

///////////////////////////////////////////////

var InRange : boolean;  //Determines If your Character is near

var DoorUnlocked : GameObject;  // assign the Unlocked Door

var DoorLocked : GameObject; // assign The Locked Door

var ForCorrutine = false;  // random Shiz ( will explain if you ask :D)

function Start(){

DoorLocked.SetActive(true);
DoorUnlocked.SetActive(false);
ForCorrutine = false;
}

function Update (){
if ( Input.GetMouseButtonDown(0)&& InRange){
GetComponent.<MeshRenderer>().enabled = false;
DoorLocked.SetActive(false);
DoorUnlocked.SetActive(true);
GetComponent.<AudioSource>().Play();
ForCorrutine = true;
}
}

function OnTriggerEnter (other : Collider){
if (other.gameObject.tag == “Player”) {
InRange = true;
if(ForCorrutine == true){                                                                                                 yield WaitForSeconds(1);
Destroy(gameObject);
}
}
}
function OnTriggerExit (other : Collider){
if (other.gameObject.tag == “Player”) {
InRange = false;
}
}

Hoped this helped for any one that was struggling with Key Pick-up and unlock Door Code! 😀