Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranî)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
Do you remember that additional two week we need
To the player script
What we actually go and take a look at it
If you recall it's this little for loop hearing again but talk about for Loops in another section
This allows us to jump through things called platform effectors
What exactly is that what is jumping to Unity in rush just take
One of our ground prefabs in let's copy it's a control C and ctrl V
Dragon up in let's just drink it down to the size of a platform
Ok
Maybe like that
Drag a tool it's a right here
If I play
You notice that when I jump over this I've banged my head
So painful doesn't it
I banged my head on this platform
What I wanted to jump through it
Subtitled by -♪ online-courses.club ♪- We compress knowledge for you! https://t.me/joinchat/ailxpXoW3JVjYzQ1
The causing about unity is there so many solutions to problems that don't require a ton of code
All we had to do with space that code into the physics lab
And then all we have to do here is
Just type in
Platform effector 2D
And we can add that component
Want to this platform
What's collapse platform effector United States Air here it is the effect of will not function until there's at least
Enable 2D Collider with
Used by a factor
Check the monkey magic
So I got to do is
Collapse your polygon Collider 2D
Pentagon used by a factor that said that are true
Now there's a little Archaea
All that means is
If the player is within this are
He's going to land on the platform
He's not
It is below your jump through the platform
And that's it
Honestly you can
Change the card if you want
Something like this that
Or you can even Roto VR
So that he jumps
Through when he's going down but bonds his head when he's going up
We're going to keep it the way it is going to save and then Hitler
Tell us to Hendron over here
And we're on top of it that's great what about below if I jump
Looks like
Into the platform it's like a little too high but I actually want to swap
Alright I was just
Drag it down a little bit
And we can jump straight through it
Alex awesome
Ok so as you can see
We can have all sorts of platforms throughout the game
In fact we could even create
A new preferred by dragging this
Ender prefabs
What's Croydon original brief
It's been a bit too
Perform
Hey let's make sure we rename this one as well
Ok
In like we can do
Play some all over the place
I have called platforms that allow us to jump up
Throughout the world
£5 in a really effective way in honestly and economical way
Breeder make a game
Because
You need to create a tonne of landscapes in graphics to allow the player to get higher and higher in the world
You just create platforms
In our game we can
Maybe put
Animal pulsing plasma below the platform to make it look like there's a reason why it's floating
But I always found the adding platforms evening moody story-driven games
Really helpful
From a game design perspective the alternative to a platform in a more realistic game is to have it like this
That's obviously really limiting from a game design perspective because now the player can go under it
So
Find a way to be able to add platforms to your game that makes sense even if your game is super realistic
Maybe you could add some ropes hanging down
From the sky
And that allows you to add platforms to game and it's still kind of makes sense from a physics perspective
I want to get away but that right now we have some pretty cool platforms that just floating in the sky
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.