Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » making a fnaf game
- totalprogramming
-
18 posts
making a fnaf game
there are many fnaf fan games out there, and ive ran into a problem-i cant make a fnaf game! no matter how many times i try with coding, it never really seems to work. ive tried youtube videos too, but they ethier dont show you every step how or they dont finish it. i need a step-by-step guide to making one. please, help would be greatly appriciated.
- AwesomeSmilee
-
500+ posts
making a fnaf game
There's a FNAF guide in this forum, search for it. It might be a few pages back. And don't add jumpscares or scary backstory because it breaks the Community Guidelines.
EDIT: Right below this topic is a FNAF tutorial.
EDIT: Right below this topic is a FNAF tutorial.
Last edited by AwesomeSmilee (Jan. 3, 2016 13:31:13)
- totalprogramming
-
18 posts
making a fnaf game
yea ive seen that one. but its with varibles and it doesnt really help me
- martimm6776
-
12 posts
making a fnaf game
Be careful… The Scratch Team has said the thing us FN@F fans have dreaded…you can't
- IronBit_Studios
-
1000+ posts
making a fnaf game
Actually, only excessively violent projects are unshared. For instance, if you're going to make an emulator, then no. But a FNAF cartoon that's not violent? Sure.
- botconboy
-
32 posts
making a fnaf game
Okay, so first of all, the question you should be asking isn't how do you make a FNaF game, but rather how do you use Scratch? Don't worry, we were all Scratch noobies at the beginning, but try experimenting with some of the blocks to see what they do. It becomes rather easy once you get the hang of it. I'll be able to help you once you have got the basics down. 

- DrIshmael
-
67 posts
making a fnaf game
Well, here's a guide on how to make working cameras:
1. Make the sprite used to open the cameras.
2. Add this script to the sprite:
3. Then you'll have to make another camera sprite to make the camera go down. Use this script:
4. Also, you'll have to do this in the first camera sprite:
5. Do the same with the other:
6. Now, to make the cameras. First, draw a basic map of your setting with the square drawing tool.
7. Then, draw the first camera.
8. Make a variable for all sprites that represents what camera you're on.
9. Add this script to the sprite:
10. You'll have to repeat this for all the cameras. Place them on the map in an accurate place.
11. Now, making the camera set to the last camera should use this script (I haven't tried it myself, but I bet it will work):
It might not work, because like I said, I haven't tried it myself.
12. Also, you will need to add this script to any sprite in the game to set the default camera (When the cameras are first viewed) to camera 1:
This should work. Hope it helps
1. Make the sprite used to open the cameras.
2. Add this script to the sprite:
when green flag clicked
forever
wait until <touching [mouse pointer v] ?>
broadcast [camera up v]
hide
end
3. Then you'll have to make another camera sprite to make the camera go down. Use this script:
when green flag clicked
forever
wait until <touching [mouse pointer v] ?>
broadcast [camera down v]
hide
end
4. Also, you'll have to do this in the first camera sprite:
when I receive [camera down v]
show
5. Do the same with the other:
when I receive [camera up v]
show
6. Now, to make the cameras. First, draw a basic map of your setting with the square drawing tool.
7. Then, draw the first camera.
8. Make a variable for all sprites that represents what camera you're on.
9. Add this script to the sprite:
when this sprite clicked
broadcast [camera 1 v]
set [camera # v] to [1 ]
10. You'll have to repeat this for all the cameras. Place them on the map in an accurate place.
11. Now, making the camera set to the last camera should use this script (I haven't tried it myself, but I bet it will work):
when I receive [camera up v]
if <(camera #) = [last camera ]> then
broadcast [last camera viewed v]
end
It might not work, because like I said, I haven't tried it myself.
12. Also, you will need to add this script to any sprite in the game to set the default camera (When the cameras are first viewed) to camera 1:
when green flag clicked
set [camera # v] to [1 ]
This should work. Hope it helps

- Nice_Flame
-
100+ posts
making a fnaf game
I would love to help but a reminder there are many fnaf fan games out there, and ive ran into a problem-i cant make a fnaf game! no matter how many times i try with coding, it never really seems to work. ive tried youtube videos too, but they ethier dont show you every step how or they dont finish it. i need a step-by-step guide to making one. please, help would be greatly appriciated.They won't let you share violent FNAF
- beeutiful101
-
36 posts
making a fnaf game
Here's a cool/good idea to start with the start button:
OK, so another thing I didn't mentioned by the scratch blocks is that you have to make a costume with a black outline or any other outline that's dark. Of course, put the word START to make the scratchers know that's the start button. Then why I put these blocks in:
It was because you had to duplicate (DOOP-pli-kate) the original costume, and put the same color outline, but lighter. Let the night begin!
when green flag clicked
switch costume to [costume1]
go to x: (___) y: (___)
go to front
show
forever
if <touching [mouse-pointer ] ?> then
switch costume to [costume2]
if <not <touching [mouse-pointer ] ?>> then
switch costume to [costume1]
end
end
end
when this sprite clicked
broadcast [Begin (or anything else)]
hide
OK, so another thing I didn't mentioned by the scratch blocks is that you have to make a costume with a black outline or any other outline that's dark. Of course, put the word START to make the scratchers know that's the start button. Then why I put these blocks in:
forever
if <touching [mouse-pointer ] ?> then
switch costume to [costume2]
if <not <touching [mouse-pointer ] ?>> then
switch costume to [costume1]
end
It was because you had to duplicate (DOOP-pli-kate) the original costume, and put the same color outline, but lighter. Let the night begin!
- Discussion Forums
- » Help with Scripts
-
» making a fnaf game