Lol. On top of the tutorial itself I really like your register and how you address the audience. Chilled. Sounds like you're about to go into "And if it's a problem, you know where I live."
This is Exactly what i was looking for! Also a good learning experience for me; still have alot to learn. Going to use it as a main feature for a Telltale-esque game. Thank you!
Hey man, glad this worked for you! I love the Telltale games and what they brought to the industry. If you pursue your project let us know how it's looking, cheers!
I have question // my video play in unity but when I export my game on WEBGL the video doesn't play on the web ?? I use ( UNITY 2020.1.3F1) help me please
hi! i'm one year late but do you happen to work with the Leap Motion Controller? i've been trying to use this video script to get a ball thrown to hit the "invisible box" and activate the trigger instead of the first person walking towards the "invisible box". i tried tagging the ball "Player" but it doesn't seem to work.. does the tagging only work for FPSController?
For those who need to do it on 2D games -> using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayVideo : MonoBehaviour { public GameObject videoPlayer; public int timetoStop; void Start() { videoPlayer.SetActive(false); } public void OnTriggerEnter2D (Collider2D player) { if (player.gameObject.tag == "Player") { videoPlayer.SetActive(true); Destroy(videoPlayer, timetoStop); } } } ... youre welcome
Hey Lurony thanks for the video, I was able to run this in Unity and the video is showing but the problem is when I export to WebGl then the video is not there. I am guessing the same problem shows up if I try to build the game for PlayStation4. Could you help me with this, please.
Learn C# buddy. Hope the poster doesn't mind this but check out someone called "TheNewBoston", he does it in lamens terms and breaks down the logical concepts. I was put off learning code for years, but it was the best decision I ever made going back to it and dedicating time to getting better. The Unity tutorials are also brilliant (at the moment Unity Learn Premium is free).
Make one about playing cg pictures in 3dgame like Rance ys or death note Also see if you can use cinemachine. I will try to see if I can come with cg pictures in 3d games. Working with cinemachine is different the cameras work differently 😏 You have something on save load system? Also beyond birthday best L
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Video; public class NewBehaviourScript : MonoBehaviour { public GameObject videoPlayer; public int stopie; void start() { videoPlayer.SetActive(false);
} private void OnTriggerEnter(Collider player) { if (player.gameObject.tag == "Player") { videoPlayer.SetActive(true); Destroy(videoPlayer,stopie); } } } my video started otomatically please help me
You probably placed your trigger on the 000 position or maybe near the player Also is the trigger has box collider or is it 3d solid object with gravity Whats the scale and position of the trigger sister? Is trigger box needs to be ticked I think in box collider the code is fine.
BRO HOW CAN I PLAY VIDEOS BETWEEN LEVELS ? FROM LEVEL 1 TO 2 AND SO ON ? GUCCI GANG GUCCI GANG GUCCI GANG GUCCI GANG GUCCI GANG LOVE THIS STUPID SONG :)))))
Lol. On top of the tutorial itself I really like your register and how you address the audience. Chilled. Sounds like you're about to go into "And if it's a problem, you know where I live."
Hey, i'm a newer game dev and just wanted to say that this helped. I'm trying to make a parkour game and wanted to add in a video to help players.
thanks for sharing , happy new year
This is Exactly what i was looking for! Also a good learning
experience for me; still have alot to learn.
Going to use it as a main feature for a Telltale-esque game.
Thank you!
Hey man, glad this worked for you! I love the Telltale games and what they brought to the industry. If you pursue your project let us know how it's looking, cheers!
Can I use it for a 2d Game? I tried everything you said using an object with a collider 2d but it didn't work.
Love your work. Big ups man
Thanks man, means a lot to hear this!
thank you so much
cine machine is so damn hard and for a 2d game simply animating a scene is much easier
Nice vid man! I'd love to see what you are doing on your own. Like what game you are working on and stuff like that.
Nothing much, I'm more of a tutor than a indie game dev.
@@2kmixedit Hello is it work for free version of unity?
How do you make the backgroundmusic stop playing while the video is playing?
I have question // my video play in unity but when I export my game on WEBGL the video doesn't play on the web ?? I use ( UNITY 2020.1.3F1) help me please
It's not working .I've done everything you did but video is not playing
In the cube that he uses as a trigger you must make sure the "Is Trigger" check box in Box Collider is ticked..... Probably a bit late
tick the "Is trigger" inside the cube then
Hi. thanks for the video. I am using Wwise for Sfx and when i am triggering a video i have no sound. Any ideas how to fix that issue? thanx
Great Tutorial !!! Thanks!!!
The 3rd person tutorial project download link is broken. Could you please fix it. Thanks.
Check the videos about those tutorials not this one.
Lurony The link on those tuts are broken
nice! thank you 👍
hi! i'm one year late but do you happen to work with the Leap Motion Controller? i've been trying to use this video script to get a ball thrown to hit the "invisible box" and activate the trigger instead of the first person walking towards the "invisible box". i tried tagging the ball "Player" but it doesn't seem to work.. does the tagging only work for FPSController?
where do i make the script? like where in the project folder?
For those who need to do it on 2D games ->
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayVideo : MonoBehaviour
{
public GameObject videoPlayer;
public int timetoStop;
void Start()
{
videoPlayer.SetActive(false);
}
public void OnTriggerEnter2D (Collider2D player)
{
if (player.gameObject.tag == "Player")
{
videoPlayer.SetActive(true);
Destroy(videoPlayer, timetoStop);
}
}
}
... youre welcome
Thank you very much Brother 🤗
Would this logic apply to a virtual reality game or would the main camera move around and look away from the video if the player looks away?
Hey Lurony thanks for the video, I was able to run this in Unity and the video is showing but the problem is when I export to WebGl then the video is not there. I am guessing the same problem shows up if I try to build the game for PlayStation4. Could you help me with this, please.
You are amazing. Thanks for saving my courseworks hopes
can you explain it by using url
how can we achive this by using url option.
thanks
good cut scene :)
This trigger cannot be triggered again once. How can I let the trigger be repeated~
Look at box collider tick ☑ istrigger
See if it works
I tried doing that in Jimmy Vegas car unity video and it worked there
To make a revolutionizing game all u need is to use this bois Assests
Thank u so much man
This coming to next gen console?
Yes
next next gen maybe
I wish I could understand a single word you said during the scripting part.. Gosh ill never learn coding 😩
How's your coding going on
Check His Assests I'n description
Learn C# buddy. Hope the poster doesn't mind this but check out someone called "TheNewBoston", he does it in lamens terms and breaks down the logical concepts. I was put off learning code for years, but it was the best decision I ever made going back to it and dedicating time to getting better. The Unity tutorials are also brilliant (at the moment Unity Learn Premium is free).
...
I LOVE YOU SO FUCKING MUCH! You saved me, because I have to have a beta out by tomorrow! (School project)
Glad I helped you
Make one about playing cg pictures in 3dgame like Rance ys or death note
Also see if you can use cinemachine.
I will try to see if I can come with cg pictures in 3d games.
Working with cinemachine is different the cameras work differently 😏
You have something on save load system?
Also beyond birthday best L
bro its not working
very good
yes
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Video;
public class NewBehaviourScript : MonoBehaviour
{
public GameObject videoPlayer;
public int stopie;
void start()
{
videoPlayer.SetActive(false);
}
private void OnTriggerEnter(Collider player)
{
if (player.gameObject.tag == "Player")
{
videoPlayer.SetActive(true);
Destroy(videoPlayer,stopie);
}
}
}
my video started otomatically please help me
please stop putting the script in the comment, this makes those new people lazy to code and make them never can learn any coding skill
@@mikethegamedev yeah but its a problematic script......
You probably placed your trigger on the 000 position or maybe near the player
Also is the trigger has box collider or is it 3d solid object with gravity
Whats the scale and position of the trigger sister?
Is trigger box needs to be ticked I think in box collider the code is fine.
Try to play with the box collider is trigger of the trigger
Heres for the explanation m0fjrQkaES4 here
Only if I could understand one word. I've never finished even one project. I don't understand scripting.
try unity bolt
nah not working anymore
From *ALL* the videos you could pick...
...and you picked this one.
Lurony he means Gucci gang :P
No, not that Lurony :D the feature is amazing and i plan using this tutorial :D
Oh lol I totally forgot ahahahha
I saw Naruto and his friends out there in the ramen store hhhh
BRO HOW CAN I PLAY VIDEOS BETWEEN LEVELS ? FROM LEVEL 1 TO 2 AND SO ON ? GUCCI GANG GUCCI GANG GUCCI GANG GUCCI GANG GUCCI GANG LOVE THIS STUPID SONG :)))))
Gucci gang