Unity 5 - How to Play Videos on Trigger

  Рет қаралды 42,131

2KMIXEDIT

2KMIXEDIT

Күн бұрын

Пікірлер: 73
@keithkatane4854
@keithkatane4854 3 жыл бұрын
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."
@alhut
@alhut 3 жыл бұрын
thanks for sharing , happy new year
@annora1342
@annora1342 6 жыл бұрын
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.
@harisperiorellis6786
@harisperiorellis6786 4 жыл бұрын
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.
@anettebratvold8476
@anettebratvold8476 3 жыл бұрын
How do you make the backgroundmusic stop playing while the video is playing?
@Marandal
@Marandal 2 жыл бұрын
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!
@2kmixedit
@2kmixedit 2 жыл бұрын
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!
@3d_nahla289
@3d_nahla289 3 жыл бұрын
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
@niyijohn6877
@niyijohn6877 2 жыл бұрын
Love your work. Big ups man
@2kmixedit
@2kmixedit 2 жыл бұрын
Thanks man, means a lot to hear this!
@PetrosKizas
@PetrosKizas 3 жыл бұрын
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
@junaidanwar8976
@junaidanwar8976 4 жыл бұрын
where do i make the script? like where in the project folder?
@pradeepKumar-jf2be
@pradeepKumar-jf2be 6 жыл бұрын
It's not working .I've done everything you did but video is not playing
@MrJos117
@MrJos117 4 жыл бұрын
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
@mikethegamedev
@mikethegamedev 4 жыл бұрын
tick the "Is trigger" inside the cube then
@zimou5849
@zimou5849 5 жыл бұрын
thank you so much cine machine is so damn hard and for a 2d game simply animating a scene is much easier
@erikaroldan6899
@erikaroldan6899 3 жыл бұрын
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.
@Testtestnotest
@Testtestnotest 2 жыл бұрын
nice! thank you 👍
@MyNameIssaSimon
@MyNameIssaSimon 7 жыл бұрын
The 3rd person tutorial project download link is broken. Could you please fix it. Thanks.
@2kmixedit
@2kmixedit 7 жыл бұрын
Check the videos about those tutorials not this one.
@MyNameIssaSimon
@MyNameIssaSimon 7 жыл бұрын
Lurony The link on those tuts are broken
@Dancoliio
@Dancoliio 3 жыл бұрын
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
@sairampidugu6161
@sairampidugu6161 3 жыл бұрын
Thank you very much Brother 🤗
@zeeshansiddiqui5869
@zeeshansiddiqui5869 5 жыл бұрын
can you explain it by using url how can we achive this by using url option. thanks
@mirthfulgeek
@mirthfulgeek 5 жыл бұрын
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?
@DnG9966
@DnG9966 6 жыл бұрын
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?
@ACJOKERZ
@ACJOKERZ 4 жыл бұрын
You are amazing. Thanks for saving my courseworks hopes
@HunterTheWalrus
@HunterTheWalrus 7 жыл бұрын
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.
@2kmixedit
@2kmixedit 7 жыл бұрын
Nothing much, I'm more of a tutor than a indie game dev.
@bora6436
@bora6436 4 жыл бұрын
@@2kmixedit Hello is it work for free version of unity?
@bigfootgames
@bigfootgames 2 жыл бұрын
Great Tutorial !!! Thanks!!!
@a0921961106
@a0921961106 5 жыл бұрын
This trigger cannot be triggered again once. How can I let the trigger be repeated~
@omiorahman6283
@omiorahman6283 4 жыл бұрын
Look at box collider tick ☑ istrigger See if it works I tried doing that in Jimmy Vegas car unity video and it worked there
@omiorahman6283
@omiorahman6283 4 жыл бұрын
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
@feferonkaanimation4870
@feferonkaanimation4870 5 жыл бұрын
good cut scene :)
@ScorpioAU
@ScorpioAU 4 жыл бұрын
To make a revolutionizing game all u need is to use this bois Assests
@KingDoogan
@KingDoogan 7 жыл бұрын
This coming to next gen console?
@2kmixedit
@2kmixedit 7 жыл бұрын
Yes
@zimou5849
@zimou5849 5 жыл бұрын
next next gen maybe
@iHighPointz
@iHighPointz 3 жыл бұрын
Thank u so much man
@Javawok
@Javawok 5 жыл бұрын
I wish I could understand a single word you said during the scripting part.. Gosh ill never learn coding 😩
@kineticstishi
@kineticstishi 5 жыл бұрын
How's your coding going on
@ScorpioAU
@ScorpioAU 4 жыл бұрын
Check His Assests I'n description
@Fenixmaiden666
@Fenixmaiden666 4 жыл бұрын
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).
@mikethegamedev
@mikethegamedev 4 жыл бұрын
...
@KenScepter
@KenScepter 3 жыл бұрын
bro its not working
@lusilusi8694
@lusilusi8694 6 жыл бұрын
I LOVE YOU SO FUCKING MUCH! You saved me, because I have to have a beta out by tomorrow! (School project)
@2kmixedit
@2kmixedit 6 жыл бұрын
Glad I helped you
@koniipinka7923
@koniipinka7923 3 жыл бұрын
nah not working anymore
@jheklosgomes9287
@jheklosgomes9287 6 жыл бұрын
very good
@ItsMe-yx1zi
@ItsMe-yx1zi 5 жыл бұрын
Only if I could understand one word. I've never finished even one project. I don't understand scripting.
@gyanendrasingh2003
@gyanendrasingh2003 4 жыл бұрын
try unity bolt
@kurekureci
@kurekureci 7 жыл бұрын
From *ALL* the videos you could pick... ...and you picked this one.
@wazza8614
@wazza8614 7 жыл бұрын
Lurony he means Gucci gang :P
@kurekureci
@kurekureci 7 жыл бұрын
No, not that Lurony :D the feature is amazing and i plan using this tutorial :D
@2kmixedit
@2kmixedit 7 жыл бұрын
Oh lol I totally forgot ahahahha
@kendinemuhendis5070
@kendinemuhendis5070 4 жыл бұрын
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
@mikethegamedev
@mikethegamedev 4 жыл бұрын
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
@kendinemuhendis5070
@kendinemuhendis5070 4 жыл бұрын
@@mikethegamedev yeah but its a problematic script......
@omiorahman6283
@omiorahman6283 4 жыл бұрын
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.
@omiorahman6283
@omiorahman6283 4 жыл бұрын
Try to play with the box collider is trigger of the trigger Heres for the explanation m0fjrQkaES4 here
@buntwogarde6583
@buntwogarde6583 4 жыл бұрын
yes
@yantizeng6557
@yantizeng6557 5 жыл бұрын
I saw Naruto and his friends out there in the ramen store hhhh
@MrCamdere
@MrCamdere 2 жыл бұрын
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 :)))))
@regioninteractive6114
@regioninteractive6114 5 жыл бұрын
Gucci gang
How to Change Scenes Using a Trigger in Unity 5
5:19
2KMIXEDIT
Рет қаралды 104 М.
6 - Music and Sound Triggering - Playmaker / Unity Tutorial
4:29
Square One Tutorials
Рет қаралды 5 М.
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
Unity3D Video Player - How to add video to your project!
7:57
Scott Durkin
Рет қаралды 41 М.
How to get started with Unity - Video Player
6:30
Dapper Dino
Рет қаралды 84 М.
Play or Stream a Video with 3D audio in Unity
8:43
samyam
Рет қаралды 28 М.
HOW TO EASILY PLAY A VIDEO IN UNITY TUTORIAL
5:42
Jimmy Vegas
Рет қаралды 174 М.
Unity 5 - Showing Text on Trigger
6:12
2KMIXEDIT
Рет қаралды 89 М.
Unity  Beginner Tutorial : Triggers
6:49
Jayanam
Рет қаралды 78 М.
Playing Animation on Trigger in Unity
9:04
SpeedTutor
Рет қаралды 162 М.
Unity 5 - Passing Variables Between Scenes (Static Variables)
11:06
How to Collect Coins in Unity 3D Tutorial 2023 (Updated)
5:07
Rigor Mortis Tortoise
Рет қаралды 20 М.
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН