im having an issue with my camera. When im on the trigger, the camera is not rendered. Any solutions? nevermind i fixed that by repeated every step! Thank you Jimmy!
@@JimmyVegasUnity thanks a lot for these amazing tutorials please make a playlist on a game in which we have to find treasure in a boat and everytime keys and boat spawns at a random place......... Thanks........
Loved the video Jimmy! I have one issue, I dunno what code to write if needed or how to stop the animation (trigger) from being played over and over when entering the trigger location.
im getting a constant error saying "cant add script component because script class cannot be found". I think i did it wrong but i there is nothing telling me i did something wrong. EDIT: NVM i fixed it and im so happy
thinking of doing this with a school project... omfg this will scare everyone. sadly, we are doing this in the newest version, and we are supposed to be doing group projects with the collab option, so i will have to find a way to disguise it
Hi jimmy I'm having trouble with this. when I enter the trigger it says Display 1 No Cameras Rendering i tried looking for the render of whatever the problem is i cant find it how can i fix it?
Very late reply but I just solved it. You gotta remove the lines where the player is set to inactive. When the player is inactive so are its children - the scare cam. So just leave it as active
im facing an error sir! if i trigger the jump scare and just stand at the same spot then jumpscare keeps starting again n again. it just never ends. How do we fix this?
This Is The Trigger Version For Javascript Users public var impact : AudioClip; var audioSource : AudioSource; var ThePlayer : GameObject; var JumpCam : GameObject; var FlashImg : GameObject; function Start(){ JumpCam.SetActive(false); FlashImg.SetActive(false); ThePlayer.SetActive(true); function OnTriggerEnter(){ JumpCam.SetActive(true); FlashImg.SetActive(true); ThePlayer.SetActive(false); yield WaitForSeconds(2.02); JumpCam.SetActive(false); FlashImg.SetActive(false); ThePlayer.SetActive(true); }
when i get to the trigger the jumpscare starts but never ends and i have an error called NullReferenceException: Object reference not set to an instance of an object. Help me
Hello, how can i make jumpscare like in the resident evil 7, when Mia jumps on the main hero with the knife, and main hero is falling with her on the floor. Or a cutscene, when she is cutting his hand with chainsaw?
could i do something like transitioning to another scene for a brief moment before snapping the player right back where they were when they first came into contact with the trigger then play a sound like a scream or some creepy music destroying it in the process with this method? any help is much appreciated...
Hey Jimmy great tutorial. Just wondering though, I probably wrote the script wrong but whenever I walk through the trigger it keeps on repeating over and over agian. Just a little confused hopefully someone can help me.
@@JimmyVegasUnity Where about is that located in the video? I have re-watched the whole thing and I can't seem to find that specific line. Could you maybe give me a time stamp? Thanks.
my mistake, thought it was in there but this jumpscare was coded to play as many times as required. you’ll need to add in the line to set the collider as inactive
Creating thunder wouldn't be a particle system, it would be a sound. your idea could easily be achieved by using a simple rain particle system from the asset store, and then having your audio played at random.
As much as I need to make this kind of jump scare in my game I just cannot follow and understand scripting 🤦🏽♂️. I'm an absolute beginner at this. I can create a very basic level easy but scripting and my brain is like "nope you will not understand this" Can somebody make the scripts for me please . Setting the scene and creating empty objects and triggers seems simple enough so that's fine.
It's up to you to write the scripts from the tutorial, and nobody understands it when they first start at it. But keep writing code, for a while it won't make sense but after you keep writing and writing it will all start to click
Thank you very much, is it possible to do the same thing but with an animated blender video? Because I have a jumscare on blender but I do not know how imported as jumpscare, if not thank you many, + 1 sub and like :)
I had a quick question. As soon as I start my game no matter where the player is, the jumpscare takes place. Im not too sure what I am doing wrong, I do have the Cube set for the trigger as well
Hello Jimmy Vegas! I am 12 years old and am very interested in game making. I would love to see a zombie survival tutorial :) I cannot create game very well as I know everything but coding. And my dream gave would be zombie survival where you have to eat food and stuff. Hope you reply!!! NOTICE MEEE
This Is The Timer Version For Javascript users public var impact : AudioClip; var audioSource : AudioSource; var ThePlayer : GameObject; var JumpCam : GameObject; var FlashImg : GameObject; function Start(){ JumpCam.SetActive(false); FlashImg.SetActive(false); ThePlayer.SetActive(true); yield WaitForSeconds(10.02); JumpCam.SetActive(true); FlashImg.SetActive(true); ThePlayer.SetActive(false); audioSource.PlayOneShot(impact,1.7F); yield WaitForSeconds(2.02); JumpCam.SetActive(false); FlashImg.SetActive(false); ThePlayer.SetActive(true); }
nice but it is not ending the jumpscare.. anyone help? here is my code: using System.Collections; using System.Collections.Generic; using UnityEngine; public class JumpTriger : MonoBehaviour { public AudioSource Scream; public GameObject ThePlayer; public GameObject JumpCam; public GameObject FlashImg; public GameObject Monster; void OnTriggerEnter () { Scream.Play(); JumpCam.SetActive(true); ThePlayer.SetActive(false); FlashImg.SetActive(true); Monster.SetActive(true); StartCoroutine(EndJump ()); } IEnumerator EndJump() { yield return new WaitForSeconds (2.03f); JumpCam.SetActive(false); ThePlayer.SetActive(true); FlashImg.SetActive(false); Monster.SetActive(false); } }
@@JimmyVegasUnity in fact i think that i know the problem it was the wait method(ig) so i coded it in visual scripting and used a timer instead of a wait
Having trouble with the Zombie Animation? Check the solution here:
th-cam.com/video/48hojHj3BQk/w-d-xo.html
Thanks helped me a lot
im having an issue with my camera. When im on the trigger, the camera is not rendered. Any solutions?
nevermind i fixed that by repeated every step! Thank you Jimmy!
@@Alc0h0lic_G4mer52 Hi could you tell me what the problem was?
@@dijanapiljanovic3352 i repeated the tutorial carefully
This was actually very well explained. Thank you!
this helped me alot this is basically the foundation of my first game im currently making thank you for making this tutorial very well explained
6:33 i tought that was the scream xD
Scary isn't it hehe. Coughs and colds suck though.
This is really helping me with my project! Thanks for making this tutorial man
This looks amazing compared to some other tutorials. Nice work!
These are some great tutorials JV.
Cant wait to add this to my Learning ABC's For Kids unity game!
I'm having trouble with this. when I enter the trigger it says Display 1 No Cameras Rendering
@pure fascination Thanks mate
@blotX what do you mean im having the same problem
This is great!! Thanks again Jimmy Vegas!!
Omg thank you, finally one tutorial that works 100% on unity
All tutorials work in any version of Unity.
@@JimmyVegasUnity thanks a lot for these amazing tutorials please make a playlist on a game in which we have to find treasure in a boat and everytime keys and boat spawns at a random place.........
Thanks........
That scream is what i sound like when i see a cockroach in my bed
Thanks man! Digged a lot for such code. Needed to start timer at entering trigger.
thanks a ton for the tutorials man! a real help!
10:45 I just clicked the video around there...Thank you for telling in advance "Brace Yourself" 😅
really good video explained in a very simple manner
You are my idle jimmy
Thank you, this really help my game.
glad it helped 😁
thanks, i was making a game like ddlc, where it starts of happy then gets really creepy. it helped alot
Loved the video Jimmy! I have one issue, I dunno what code to write if needed or how to stop the animation (trigger) from being played over and over when entering the trigger location.
im getting a constant error saying "cant add script component because script class cannot be found". I think i did it wrong but i there is nothing telling me i did something wrong.
EDIT: NVM i fixed it and im so happy
Hello I need help. when I enter the trigger it says Display 1 No Cameras Rendering
Same goes with the Timer it keep saying Display 1 No Cameras Rendering
Why does my jumpscare reapeat itself as in a loop and it never end
Same
I can’t leave 😢
I had jumpscare watching this, thanks btw
thinking of doing this with a school project... omfg this will scare everyone. sadly, we are doing this in the newest version, and we are supposed to be doing group projects with the collab option, so i will have to find a way to disguise it
it says no cameras rendering! why?
Who actually jumped on the scare
I did
That's what it's meant to do
I did
That scares me LOL 12:20
Awsome Vedio Thx So Much!!
thanks man :) and please more videos on without codes
umm i have a problem so when the "jump scare" comes the flickering light keeps flickering after the scare... and doesnt stop
flashImg.SetActive(false);
People how can i fix display 1 not rendering
Thanks So Much!!!
Hi jimmy
I'm having trouble with this. when I enter the trigger it says Display 1 No Cameras Rendering i tried looking for the render of whatever the problem is i cant find it how can i fix it?
Very late reply but I just solved it. You gotta remove the lines where the player is set to inactive. When the player is inactive so are its children - the scare cam. So just leave it as active
Hi could you help me ? Why do i stay blocked i the screamcam ?? ty
im facing an error sir! if i trigger the jump scare and just stand at the same spot then jumpscare keeps starting again n again. it just never ends. How do we fix this?
Love it
Hey Jimmy, thank you for this amazing tutorial. Was wondering if you could upload more videos for your Fps series.
Hey jimmy when i go through the jumpscare the background isnt rendered only the lighting and the animation occurs any idea why?
what would I need to do to make the jumpscare with a image
This Is The Trigger Version For Javascript Users
public var impact : AudioClip;
var audioSource : AudioSource;
var ThePlayer : GameObject;
var JumpCam : GameObject;
var FlashImg : GameObject;
function Start(){
JumpCam.SetActive(false);
FlashImg.SetActive(false);
ThePlayer.SetActive(true);
function OnTriggerEnter(){
JumpCam.SetActive(true);
FlashImg.SetActive(true);
ThePlayer.SetActive(false);
yield WaitForSeconds(2.02);
JumpCam.SetActive(false);
FlashImg.SetActive(false);
ThePlayer.SetActive(true);
}
Jump is care, so care your jump :3
when i get to the trigger the jumpscare starts but never ends and i have an error called NullReferenceException: Object reference not set to an instance of an object. Help me
How can we make a jumpscare after certain events are done ?
Hello, how can i make jumpscare like in the resident evil 7, when Mia jumps on the main hero with the knife, and main hero is falling with her on the floor. Or a cutscene, when she is cutting his hand with chainsaw?
Nice video....after you finish the Super Mario series you can start a clicker series ?
+Realistics Vlogs it'll be a survival horror next. I have plans for a cookie clicker style game though, so keep a look out :)
ok thank you for the answer :)
could i do something like transitioning to another scene for a brief moment before snapping the player right back where they were when they first came into contact with the trigger then play a sound like a scream or some creepy music destroying it in the process with this method? any help is much appreciated...
You could but not recommended
How can you set the jumpscare to come only once? because when you come back the jumpscare will come again
disable the collider on the trigger when you enter it :)
Thx,
for people wondering what the script is: GetComponent().enabled = false;
ive done everything right but for some reason the animation on my monster doesnt stop playing? like it doesnt transition out of the jumpscare lol
yeah same :"( did you find the solution already?
great tutorial but what the hell was that scream audio xD
A sound clip I got from a commercial free site :)
Pretty sure that was a dolphin
XD
Hey Jimmy great tutorial. Just wondering though, I probably wrote the script wrong but whenever I walk through the trigger it keeps on repeating over and over agian. Just a little confused hopefully someone can help me.
seems like you missed the line where you disable the collider
@@JimmyVegasUnity Where about is that located in the video? I have re-watched the whole thing and I can't seem to find that specific line. Could you maybe give me a time stamp? Thanks.
my mistake, thought it was in there but this jumpscare was coded to play as many times as required. you’ll need to add in the line to set the collider as inactive
@@JimmyVegasUnity Ok will do thanks for your help man!
@@JimmyVegasUnity How can i make it inactive?
it says theres no audio listeners in the scene how to fix?
how can i use this to trigger a jumpscare in a fixed location without having to set up a secondary camera?
So in the actual game itself would I make the jumpscare in a different scene?
Could you make it so wherever you come within a certain distance from the zombie the jumpscare activates ?
Just put the cube in the zombie
Can you make a mini tutorial about how to create a thunder particele system? I want to create a game with thunder in it.
Creating thunder wouldn't be a particle system, it would be a sound. your idea could easily be achieved by using a simple rain particle system from the asset store, and then having your audio played at random.
How do u make 2 jumpscares in one scene
when i play the game the jumpscare it's activate instantly without entering on trigger
Turn off the Play automatically lol
Hello I have a problem.... When I start the game its playing the flickering light animation. How i can fix this?
Uncheck the raw image in canvas
Dugap Nation Thank you very much!!
You're welcome mate :)
hi jimmy I was wondering when is the next rpg episode
August
As much as I need to make this kind of jump scare in my game I just cannot follow and understand scripting 🤦🏽♂️. I'm an absolute beginner at this. I can create a very basic level easy but scripting and my brain is like "nope you will not understand this"
Can somebody make the scripts for me please . Setting the scene and creating empty objects and triggers seems simple enough so that's fine.
It's up to you to write the scripts from the tutorial, and nobody understands it when they first start at it. But keep writing code, for a while it won't make sense but after you keep writing and writing it will all start to click
practice at code academy :)
but you can still moved when jumpscared
Yep. And if you want to stop, then you just disable the controller and re-enable after it :)
the script isnt working. its not letting me enter the image or audio file
How can i trigger it for 1 time only?
Turn the collider off as soon as you initiate the method
@@JimmyVegasUnity Thank You it really helped a lot!
Thank you very much, is it possible to do the same thing but with an animated blender video? Because I have a jumscare on blender but I do not know how imported as jumpscare, if not thank you many, + 1 sub and like :)
You have sent a curse upon all lego games...
Cool
thanks jimmy
could you make a tutorials on Horror game series
+Sai Krishna I have a survival horror series coming soon
Having issues with display 1 not rendering :/
u dont have a fps controller or u dont have a camera
IT SAIS NO CAMERAS RENDERING PLS HELP
Thanx
How come the sound plays when I start the game??
Turn off "play on awake" on the audio source :)
dont find walking animation
I had a quick question. As soon as I start my game no matter where the player is, the jumpscare takes place. Im not too sure what I am doing wrong, I do have the Cube set for the trigger as well
can i make this with godot
12:20 there's a jumpscare lol
i braised myself and still got scared
Hello Jimmy Vegas! I am 12 years old and am very interested in game making. I would love to see a zombie survival tutorial :)
I cannot create game very well as I know everything but coding. And my dream gave would be zombie survival where you have to eat food and stuff. Hope you reply!!! NOTICE MEEE
I'm starting a survival horror series in a few weeks, so some elements of that series may prove useful for you :)
SpeedOfThePhantom He also did a FPS game with similar stuff to it as well
Jimmy Vegas thanks :)
damn bro you 17 now?
@@drb yeah lol forgot I even commented this
Thank you for keeping the Slender rip-off train a-rolling xD
+TheWanderingBard this may be controversial but i have never played it, havent even really looked at it
I know, I was just kidding. Great tutorial BTW.
This Is The Timer Version For Javascript users
public var impact : AudioClip;
var audioSource : AudioSource;
var ThePlayer : GameObject;
var JumpCam : GameObject;
var FlashImg : GameObject;
function Start(){
JumpCam.SetActive(false);
FlashImg.SetActive(false);
ThePlayer.SetActive(true);
yield WaitForSeconds(10.02);
JumpCam.SetActive(true);
FlashImg.SetActive(true);
ThePlayer.SetActive(false);
audioSource.PlayOneShot(impact,1.7F);
yield WaitForSeconds(2.02);
JumpCam.SetActive(false);
FlashImg.SetActive(false);
ThePlayer.SetActive(true);
}
Time to make a cringy five night's at freddy's copy
No offence but the scream sounds like a young baby screaming.
If you think it sounds like a baby, then may I suggest you take your baby to the doctors. Clearly something wrong buddy...
First
nice but it is not ending the jumpscare.. anyone help?
here is my code:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class JumpTriger : MonoBehaviour
{
public AudioSource Scream;
public GameObject ThePlayer;
public GameObject JumpCam;
public GameObject FlashImg;
public GameObject Monster;
void OnTriggerEnter () {
Scream.Play();
JumpCam.SetActive(true);
ThePlayer.SetActive(false);
FlashImg.SetActive(true);
Monster.SetActive(true);
StartCoroutine(EndJump ());
}
IEnumerator EndJump() {
yield return new WaitForSeconds (2.03f);
JumpCam.SetActive(false);
ThePlayer.SetActive(true);
FlashImg.SetActive(false);
Monster.SetActive(false);
}
}
there’s a space between EndJump and the parentheses in your OnTriggerEnter method. remove the space and it’ll work perfect 👍
@@JimmyVegasUnity in fact i think that i know the problem it was the wait method(ig) so i coded it in visual scripting and used a timer instead of a wait