Shooting, Simple Spread, and Bullet Trails in a ScriptableObject-Based Gun System #shorts
Published: 13 Oct 2022
Full Tutorial: https://youtu.be/E-vIMamyORg
Learn how to create a ScriptableObject-based gun system from scratch for your game!
In this video, which is part 1 of a much larger gun system series, we'll create 3 ScriptableObjects to control our Gun, Bullet Trails, and Shoot Configurations for 2 types of guns. Specifically we're doing "Hitscan" or Raycast shooting in this video.
In this series you'll learn how to make a configuration-driven gun system with ScriptableObjects that will be able to have:
⚫ Hitscan Guns - Covered in THIS VIDEO!
⚫ Projectile Guns
⚫ Simple Bullet Spread - Covered in THIS VIDEO!
⚫ Complex Bullet Spread
⚫ Reloading
⚫ Attachments
⚫ Animated Models
⚫ Simple Impact Damage
⚫ Damage Effects such as burning, freezing, explosions, etc...
⚫ And even more!
As always, all code from this video is available on GitHub: https://github.com/llamacademy/scriptable-object-based-guns
📚 References
⚫ Unity 2021 Object Pool: https://youtu.be/zyzqA_CPz2E
⚫ Impact System: https://youtu.be/kT2ZxjMuT_4
⚫ Scriptable Objects, Explained: https://youtu.be/dIAAi54Ty58
⚫ Lerping Fundamentals: https://youtu.be/IymDGkzwJts
📱 Let's stay connected
YouTube: https://youtube.com/c/LlamAcademy
Patreon: https://www.patreon.com/llamacademy
Facebook: https://facebook.com/LlamAcademyOfficial
Twitter: https://twitter.com/TheLlamAcademy
TikTok: https://tiktok.com/@LlamAcademy
Instagram: https://instagram.com/LlamAcademy
----
Believe in LlamAcademy's mission and have received value from the videos? Consider becoming a Patreon supporter: https://www.patreon.com/llamacademy
----
Most tutorials come from knowledge gained making https://survival.llama.software Llama Survival - a top-down zombie survival shooter for Android and iOS.
I also have some Unity Assets: https://assetstore.unity.com/publishers/22409?_aid=1101l9QvC
Some links may be affiliate links, which at no additional cost to you, gives me a small portion of the purchase.