How to make EXPLOSION with screen shake in UNITY - 2D

How to make EXPLOSION with screen shake in UNITY - 2D

The Game Guy

4 года назад

25,243 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@supremecalamitas342
@supremecalamitas342 - 08.08.2023 22:11

This isn't a good way to do an explosion, but it is a good tutorial on adding force to other objects and I learned a few things, thank you

Ответить
@UAStudioproject
@UAStudioproject - 08.03.2023 21:57

Thank you really much i was making a shock wave pulse, and this was what i needed!

Ответить
@mikoajtworzy3157
@mikoajtworzy3157 - 25.08.2022 00:32

hello i need script who explode on impact

Ответить
@anth.8244
@anth.8244 - 05.07.2022 04:24

For those still visiting this finding that their explosion feels off, its because the actual force of the explosion scales strangely depending on distance. What ended up making this work for me and applied the force equally despite distance was taking my direction vector and normalizing it with .normalize to have a magnitude of 1

Ответить
@minhhoang9279
@minhhoang9279 - 05.04.2022 08:33

agrigatou

Ответить
@Liamhvet
@Liamhvet - 20.01.2022 15:53

it's a great tutorial and all. but.... activate windows

Ответить
@demolisher8071
@demolisher8071 - 01.01.2022 11:43

How to get that VS code auto complete for Unity? Pls help

Ответить
@vantimechannel
@vantimechannel - 24.11.2021 16:56

i have errors

Ответить
@yoshilikescandy4020
@yoshilikescandy4020 - 21.09.2021 23:51

Thank you!

Ответить
@techstorm.3461
@techstorm.3461 - 27.07.2021 02:57

I want to make a game in which the main character has the ability of bomb transmutation, so he can just like throw a projectile and the enemy will become a bomb, this helps a lot, thanks.

Ответить
@binarium4376
@binarium4376 - 16.04.2021 16:41

for me it is showing a null reference exeption on the camerashake line

Ответить
@burakgidelim
@burakgidelim - 13.12.2020 23:01

You deserve more subscribers

Ответить
@brandscornerhk
@brandscornerhk - 16.10.2020 10:32

Thanks! This explosion tutorial is very helpful!

Ответить
@rogerb3657
@rogerb3657 - 15.09.2020 02:30

after three hours of trying to do this and almost giving up on my game i shut down unity and find this video
THANK YOU MAN
JUST
THANK YOU

Ответить
@petro883
@petro883 - 31.08.2020 04:02

Not a good way to do an explosion, the force is not applied linearly depending on the distance. If it's in the field of impact it's applied with the same force regardless of distance, if it's not, no force is applied.
A much better option is point effector.

Ответить
@user-eh8wr7lq3m
@user-eh8wr7lq3m - 30.08.2020 18:35

thanks you so much now I can kaboomboom

Ответить
@user-kr3ij3ch5r
@user-kr3ij3ch5r - 21.07.2020 21:18

What your dont use PointEffector?

Ответить
@kasunlee7489
@kasunlee7489 - 21.07.2020 10:53

Hey thanks for the tute.

Ответить
@noellekkar903
@noellekkar903 - 16.07.2020 09:47

Thanks a lot dude, I really needed the camera shake for own indie game.
😁👍🇮🇳🇮🇳

Ответить
@alihilal4756
@alihilal4756 - 11.07.2020 23:16

How much gravity did you use for your project?

Ответить
@MateussDevuss
@MateussDevuss - 30.06.2020 13:51

bruh you have 666 subs



thx for the tutorial

Ответить
@himanshugiri9072
@himanshugiri9072 - 03.06.2020 07:02

Nice tutorial!

Ответить
@DrowninGGaming
@DrowninGGaming - 24.05.2020 18:38

Fantastic tutorial!! Thank you very much!
I used this in my 2D platformer game i'm working on, I wanted to create bombs which you could collect to destory rocks which would block paths, within the foreach loop I added " Destory(obj.GameObject) " and it worked perfectly!! thanks again!! <3

Ответить
@pattrickzz9190
@pattrickzz9190 - 19.05.2020 00:03

thanks was looking to make one of these

Ответить
@MycoalD
@MycoalD - 12.05.2020 01:52

this helped me so much, but is there a way to make it explode when something touches it?

Ответить
@forgestudio6576
@forgestudio6576 - 07.05.2020 17:32

Hmm, why can't you do it with Point effector 2D?

Ответить
@metkam5153
@metkam5153 - 06.05.2020 19:08

Thank you.

Ответить
@adriendridri8231
@adriendridri8231 - 16.04.2020 12:56

Thank you for this very useful tutorial!

I had a question, how to explose in the same way as the boxes, a character that we control with keys, for exemple :

I tried to detonate this bomb on my character, by adding the layer "Player", however only boxes are really explosed, and my player undergoes a slight displacement, but practically nothing compared to boxes.

Is there a function to add when the element to explode is controlled (movement), unlike an inanimate box ?

Wishing you a good day !

Ответить
@rathanhv4676
@rathanhv4676 - 30.03.2020 10:02

Bro can u please make an tutorial on the game merged like creating grid moving object into grid please

Ответить
@godfather8906
@godfather8906 - 30.03.2020 08:18

Thanks bro great tutorial, keep it up !

Ответить
@ianchim4002
@ianchim4002 - 30.03.2020 07:05

Thanks dude it helped me alot :D

Ответить
@vietnguyenhuuanh1142
@vietnguyenhuuanh1142 - 29.03.2020 19:28

thanks for your help <3 i'm new

Ответить
@youtubechalao1580
@youtubechalao1580 - 29.03.2020 19:01

Thanks to this video mate ♥ much needed

Ответить