Animation-driven Reloading | Gun Series 4 | Unity Tutorial

Опубликовано: 15 Декабрь 2022
на канале: LlamAcademy
604
28

Full Tutorial:    • Animation-driven Reloading | Gun Seri...  

Learn how to reload guns with Animation-driven reload time. This makes it much easier to synchronize your "reload time" in your code by receiving an event when the reload animation has completed instead of manually trying to tie the speed to the speed of the animation.

Remember this is Part 4 of the Gun Series, so we're building on Part 1, 2, and 3 (and there's more to come!) so if you haven't checked those out yet, here's the full playlist:    • Shooting, Simple Spread, and Bullet T...  

⚫ LowPoly Eyeball Model: https://assetstore.unity.com/packages...

💸 Ongoing sales 💸
⚫ December 12-19 ONLY! 50% Off Tripolygon Publisher Sale (maker of UModeler): https://assetstore.unity.com/publishe...
⚫ December 12-19 ONLY FREE ASSET WITH CODE "MOONGLOW": https://assetstore.unity.com/packages...
⚫ Asset Store - 50% off New Assets: https://prf.hn/click/camref:1101l9QvC...

👨‍💻 As always, all code from this video is available on GitHub: https://github.com/llamacademy/script...
Each video has its own branch, so you can check out "part-4" branch to get only what's been implemented so far!

📚 Other Helpful Videos:
⚫ Gun Series 1 Shooting, Bullet Trails:    • Shooting, Simple Spread, and Bullet T...  
⚫ Gun Series 2 Bullet Spread/Recoil:    • Procedural Recoil and Bullet Spread |...  
⚫ Enemy Roaming AI:    • How to Make a State Machine for Enemy...  

📱 Let's stay connected
YouTube:    / llamacademy  
Patreon:   / llamacademy  
Facebook:   / llamacademyofficial  
Twitter:   / thellamacademy  
TikTok:   / llamacademy  
Instagram:   / llamacademy  

----

Believe in LlamAcademy's mission and have received value from the videos? Consider becoming a Patreon supporter:   / 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/publishe...
Some links may be affiliate links, which at no additional cost to you, gives me a small portion of the purchase.

#unitytutorial #tutorialtuesday #gamedev #tutorial #unity #llamacademy #gamedevelopment

Chapters:
00:00 What to Expect & High Level Overview
01:52 How to Take Damage (with Events!) - IDamageable.cs
02:55 Applying Damage - GunScriptableObject.cs
03:23 DamageConfigScriptableObject.cs - What you might do, and what we will do instead
05:45 Applying Damage with Damage Config - GunScriptableObject.cs
06:06 Taking Damage & Dying - EnemyHealth.cs
07:34 Simple Destruction - SpawnParticleSystemOnDeath.cs
08:15 Hooking up Damage & Death Events - Enemy.cs
09:16 Enemy Setup
10:15 Destructible Object Setup
10:48 Damage Config Creation & Use in GunScriptableObject
12:05 Demo - We need aiming!
12:22 Extremely Simple, not accurate aiming
12:40 Demo with Aiming
13:20 Final Thoughts & Become a Supporter!


Смотрите видео Animation-driven Reloading | Gun Series 4 | Unity Tutorial онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь LlamAcademy 15 Декабрь 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 604 раз и оно понравилось 28 людям.