Home Artists Posts Import Register
The Offical Matrix Groupchat is online! >>CLICK HERE<<

Downloads

Content

Please find the project files for this tutorial attached.

If you're looking for the files for the full Top Down Shooter, they can be found here - https://www.patreon.com/posts/75231350

Any questions or issues please let us know.

Thanks

Files

Spawning Health Collectables in Unity | Using Interfaces to Create Flexible Collectable Behaviours

In this Unity tutorial we're going to look at how to make the enemies randomly drop health collectables when they’re killed. When the Player walks over the collectable, a portion of their health is then restored. We'll cover the creation of a base prefab for all collectables, and the creation of a specific variant for the health collectable. We'll make use of C# interfaces to provide a flexible way if defining the collectable behaviour. This is the sixteenth video in our series showing how to make a full top down 2D shooter game in Unity. The playlist for this series can be found here ► https://www.youtube.com/playlist?list=PLx7AKmQhxJFajrXez-0GJgDlKELabQQHT The project files are available to our patrons here: ► TODO Want to follow along? This project is a good starting point ► https://www.patreon.com/posts/89775350 The full Top Down Shooter Project is available to our patrons here ► https://www.patreon.com/posts/75231350 The final script can be found here ► https://dotnetfiddle.net/5Djhjn The assets used in this video can be found here ► https://assetstore.unity.com/packages/2d/textures-materials/2d-sci-fi-weapons-pack-22679 Help support our work: ► Patreon: https://www.patreon.com/ketragames Follow us: ► Ketra Games: http://www.ketra-games.com ► Patreon: https://www.patreon.com/ketragames ► Twitter: https://twitter.com/ketragames ► Facebook: https://facebook.com/ketragames Introduction - 0:00 TODO Summary - 8:44:38 #KetraGames #LearnUnity #UnityTutorials #UnityTips

Comments

No comments found for this post.