2D Collision / Trigger events in Unity 5 - Moving Scenes (JavaScript)

preview_player
Показать описание

This Unity/JavaScript tutorial shows you how to move scenes in a 2D trigger event! This is the one small change plenty of developers don't realise from being used to 3D trigger interactions!

·························································································

🠺🠺🠺Check Out My Assets:

························································································

························································································

·······················································································
Рекомендации по теме
Комментарии
Автор

You are one of the very rare genuine guys that really produce very useful tutorials, keep it up!

ahmedsleem
Автор

I searched for hours on a fix for a problem I had. Your video was the key. Thank you for making this

llydeexactus
Автор

Thanks for making these videos. They are easy to understand and for once, I'm not feeling discouraged after watching a tutorial :D I subscribed!

vulgarism
Автор

Doesn´t work my friend! im trying . but nothing happend.. have 5.2 and other 5.3 version and any of these versions cant work!
could u help me please!

var newscene : String;
function OnTriggerEnter2D (Col : Collider2D){
if(Col.CompareTag("Player"))
}
}

XxKmelxX
Автор

Finally a tutorial that actually worked

plebmusic
Автор

This channel is the best! I want to see it grow.

andrewsantos
Автор

If I add a rigid body 2d component to first game object, it falls down. What must be Rigidbody 2D options? Body Type? Simulated or not?

karikativi
Автор

OMG thank u so much!! this is the only video that explains well how this is done

strepz_
Автор

I have some Issue .. How can I change the box collider as the animation changes

vvlog
Автор

Please do tutorial on how to make an RTS game or Turn based strategy game

phoenixorder
Автор

I would love to see more tutorials about unity 2D <3

TheSebaxgames
Автор

I have been heaving a hard time creating Spatial Audio for my indiegame. There are very very few resources online, unless you pay a hefty amount to buy a bloated plugin. Can you please make a tutorial on how to achieve spatial audio, something that feels like a Loud Speaker outdoor on a field, instead of plane default sound coming from the camera itself. thanks much much appreciated.

goblininventionsindiegames
Автор

Col : collider2D isn't registering as being a working part of the script for me. Can anyone help?

TheBillith
Автор

thanks for video!i have a little problem ..in unity 2d, upon collision, player should die but instead he is moving back(collision is detected but died animation is not playing)!where do you think is the actual problem?

aadityaballeda
Автор

Hey, I was wondering if you could demonstrate this in C#? Or perhaps you already have and I'm missing it?

alexpritc
Автор

and if I want the player when it hits the door to move to another scene have to press ( s ) which would be the code?

johnsor
Автор

Thanx, but how to make the Player move to another scene not being destroyed and camera still following him?

geardagumgeard
Автор

i want to do it so when i walk to my door, i press a button it goes to the new scene. how can i do it?

jonttu
Автор

I am using Unity 5 2D and I copied your code (I doubled checked I did it right) and when I put the script in the sprite, it comes up with Script but not Level. How do I fix that and also please respond?!

jonathanmaynard
Автор

Could you use this to change the order something is in a layer?

Irategamefan