Particle Effects! - Unity 2D Platformer Tutorial - Part 5

preview_player
Показать описание
NOTE: Unity 5 made some changes to how certain code has to be written. There are annotation for when these changes affect what is shown in the video, so make sure you have your annotations turned on! :)

Let's take a look at the basics of creating particle effects in Unity!

And you can also find me on twitter and facebook!

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

I've tried (and given up on) many Unity C# tutorials on youtube, and these are the ones that are by far the best paced with clear explanations. Thank you sir!

Bambi
Автор

The fact that you put comments for unity 5 on your videos is really respectable. Thank you man!

pietromoroni
Автор

For the DeathParticle and the RespawnParticle effect, you can avoid writing the sript to destroy it, there is a selectable option on the Particle system which is called "Stop Action", you just need to set it to "Destroy" and the particle will destroy itself at the end of the animation.

tchezieres
Автор

I'm following this tutorial using Unity Javascript. Works like a charm(small differences)! You are one of those people that helps us getting further with Unity and create some awesome stuff. Thanks a thousand times. On to part 6 :)

SwitchingBrains
Автор

Dude, this step-by-step tutorial is SO much more helpful than those tutorials on the Unity site, at least for me. From what I've seen, the only issue I'll have is making the art asset animations and the music...I'm not good at drawing super consistently and I've never made music before.

Organman
Автор

You and Brackeys man, are the best, always found the right stuff on your channels. Keep it up!

Prvenc
Автор

this is pretty cool, there are probably newer tutorials by now but ill stick with this one for the time being :)

bestialbugaboo
Автор

Great Tutorial, even though I've been playing with Unity for a while. This is extremely useful. Thanks :)

SuperVitality
Автор

dude really thanks A LOT, this tutorial really helped me understand particle use and management, thank you!!

thebigflob
Автор

In 5.3 Unity you need to use int, not float, when use WaitForSeconds.

donloh
Автор

Exactly what I needed, brother. Thank you!!

nickedwards
Автор

Could you tell how to make a death animation? Like when the guy stands on the spikes, it will play an animation and on respawn it will return to idle.

DoorCloser
Автор

problem fixed ;)

I look like a class genius thanks james, dream has become a reality

JaguwarGaming
Автор

@ 22:00 minutes - What is stopping Unity from going on to the Destroy(gameObject) after making the return? Does return somehow skip the method call for Destroy? I would think there would need to be an
else{Destroy(gameObject)}
for the code to run as it is doing so in the video.
Just curious.

TooWongCool
Автор

// ONE QUICK TIP 💡

nowadays u can destroy particles when u preparing it, go to particle system and change stop action mode from none to destroying it will automatically destroy in hierarchy after the particles being played.

cjeeckazad
Автор

For those having trouble with destroying particles try using this line instead of all of his in the Update function.

Destroy (gameObject, thisParticleSystem.duration);

It basically sets a timer before it will destroys the object, and the timer is as long as the particle duration.
GL ^^

fredriklarsson
Автор

Like always great video keep up the good work. I know you explain the scripting as you go and thats awesome but later on if you can do specific videos on c# for Unity so I can understand them more that would be great. Thanks for the video

mariov
Автор

Everything works fine for me, except I notice both the particle animations play once on start, what have I done wrong? :-)

niemanickurwa
Автор

Do you think you can set this up with a Playlist? The videos don't always show the proper "next in series" and some times even show a video from a different Channel as being next.

NamelessMC
Автор

Hey James series is fantastic but much like anyone again I'm having an issue with the player dying and still sliding across the ground. Renderer doesn't seem to be an active definition to call on in Unity5 as it claims its obsolete, so I was wondering what could be the work around for Unity5? Keep up the good work buddy I'm learning a ton!

ShinKensou