r/unity_tutorials • • Dec 14 '21

Need a More Engaging Environment? Add Object Destruction into Your Game! Learn how to destroy individual game objects with this common replacement technique and have the pieces slowly fade out to keep your game running smooth | Full Tutorial in Comments

65 Upvotes

3 comments sorted by

3

u/SteveTheTechGuy93 Dec 14 '21

Very good tutorial. Thank you.

A little rushed in some areas.

I'd like to see you comment the code more while you are talking about what that method does.

I think that would help some newer people.

2

u/LlamAcademyOfficial Dec 14 '21

Thank you for the feedback! I'd agree some parts are rushed in this one. I'll try to slow it down in the key parts going forward.

1

u/LlamAcademyOfficial Dec 14 '21 edited Dec 15 '21

Full Tutorial in YouTube

Hey all!

Learn how to add destructible objects into your game - for free! In this tutorial you'll learn how to destroy any individual game object with a common "replacement" technique. Once you've destroyed the object you'll want to clean up all the pieces to keep your game running smooth. This tutorial has that covered too! You'll learn how to have the pieces subtly fade out after they've all stopped moving and a delay.

As always, all code from this video is available on GitHub: https://github.com/llamacademy/destructible-objects

If you got value from this video, please consider liking, subscribing, and sharing to help these tutorials reach and add value to even more people. New tutorials are posted every Tuesday!