Ammo & Reloading - Unity Tutorial

  Рет қаралды 289,766

Brackeys

Brackeys

Күн бұрын

Пікірлер: 562
@brokenstudiotv
@brokenstudiotv 7 жыл бұрын
The "Pay what you want" thing is such a great idea, I'm gonna steal it! EDIT: I just got back into Unity, and remembered to check out your channel since it's where I first started learning 5 years ago. I'm actually blown away by the quality and enjoyment of these tutorials. Great job my friend!
@luciorojas4278
@luciorojas4278 7 жыл бұрын
I have seen videos with 30 mins duration talking a lot, I love how you speak fast and directly to the point ("This does this because unity reacts like this and this-") I've learned a lot, thank you and keep going :D new suscriber here!
@vaskedagame880
@vaskedagame880 6 жыл бұрын
shooting video = 350k views weapon switch = 90k reloading = only 50k
@krustykrew7685
@krustykrew7685 5 жыл бұрын
People I guess don’t like Limited ammo
@StaticM223
@StaticM223 5 жыл бұрын
@@krustykrew7685 No people give up
@servety8472
@servety8472 4 жыл бұрын
@@StaticM223 why?
@user-th8nx4cp7w
@user-th8nx4cp7w 4 жыл бұрын
it looks like people start giving up
@nikkiofthevalley
@nikkiofthevalley 4 жыл бұрын
@@servety8472 HAVE YOU NEVER EXPERIENCED CODING BEFORE!?
@MaeveFirstborn
@MaeveFirstborn 7 жыл бұрын
The first 3 seconds are easily the best beginning to one of these yet.
@whomp3817
@whomp3817 2 жыл бұрын
For those who are too lazy like me, here's the updated code! Gun.cs: using System; using System.Diagnostics; using UnityEngine; using System.Collections; public class Gun : MonoBehaviour{ public float damage = 10f; public float range = 100f; public float fireRate = 15f; public float impactForce = 30f; public int maxAmmo = 10; private int currentAmmo; public float reloadTime = 1f; private bool isReloading = false; public Camera fpscamera; public ParticleSystem muzzleflash; public GameObject impactEffect; public Animator animator; private float nextTimeToFire = 0f; void Start () { currentAmmo = maxAmmo; } void OnEnable () { isReloading = false; animator.SetBool("Reloading", false); } // Update is called once per frame void Update () { if (isReloading) { return; } if (currentAmmo = nextTimeToFire) { nextTimeToFire = Time.time + 1f / fireRate; Shoot(); } } IEnumerator Reload () { isReloading = true; animator.SetBool("Reloading", true); yield return new WaitForSeconds(reloadTime - .25f); animator.SetBool("Reloading", false); yield return new WaitForSeconds(1f); currentAmmo = maxAmmo; isReloading = false; } void Shoot () { muzzleflash.Play(); currentAmmo--; RaycastHit hit; if (Physics.Raycast(fpscamera.transform.position, fpscamera.transform.forward, out hit, range)) { UnityEngine.Debug.Log(hit.transform.name); Target target = hit.transform.GetComponent(); if (target != null) { target.TakeDamage(damage); } if (hit.rigidbody != null) { hit.rigidbody.AddForce(-hit.normal * impactForce); } GameObject impactGO = Instantiate(impactEffect, hit.point, Quaternion.LookRotation(hit.normal)); Destroy(impactGO, 2f); } } } Hope this helps!
@n3onf0x
@n3onf0x Жыл бұрын
If only there was a reload key tho..
@thecubeku
@thecubeku Жыл бұрын
@@n3onf0x i tried animation of relaod but the( animator,setBool(" relaoding") =true;) is not working i have no idea why is that
@prayashshrestha7297
@prayashshrestha7297 6 ай бұрын
using System.Collections; using System.Collections.Generic; using UnityEngine; public class GunStuff : MonoBehaviour { public int Ammo = 30; public int maxAmmo; public int currentAmmo; public float reloadTime = 1f; public bool isReloading = false; public Animator animator; public float damage = 10f; public float range = 100f; public float fireRate = 15f; public Camera fpsCam; public ParticleSystem muzzleFlash; private object hit; public GameObject impactEffect; public float impactForce = 30f; private float nextTimeToFire = 0f; void Start() { maxAmmo = Ammo; currentAmmo = maxAmmo; } void OnEnable() { isReloading = false; animator.SetBool("Reloading", false); } void Update() { if (isReloading) { return; } if (currentAmmo = nextTimeToFire) { nextTimeToFire = Time.time + 1f / fireRate; shoot(); } } void shoot() { currentAmmo--; muzzleFlash.Play(); RaycastHit hit; if (Physics.Raycast(fpsCam.transform.position, fpsCam.transform.forward, out hit, range)) { Target target = hit.transform.GetComponent(); if (target != null) { target.TakeDamage(damage); } if (hit.rigidbody != null) { hit.rigidbody.AddForce(-hit.normal * impactForce); } } GameObject impactGO = Instantiate(impactEffect, hit.point, Quaternion.LookRotation(hit.normal)); Destroy(impactGO, 2f); } IEnumerator Reload() { isReloading = true; animator.SetBool("Reloading", true); yield return new WaitForSeconds(reloadTime - .25f); currentAmmo = maxAmmo; isReloading = false; } }
@sonsofdarmy4325
@sonsofdarmy4325 4 жыл бұрын
i added reload to the code if (Input.GetKeyDown(KeyCode.R) && currentAmmo < maxAmmo) { StartCoroutine(reload()); }
@donaldduck5818
@donaldduck5818 4 жыл бұрын
“Input button R is not set up.”
@weebz6339
@weebz6339 3 жыл бұрын
oh and you can use "or" instead "and"
@altairattano9260
@altairattano9260 3 жыл бұрын
@@weebz6339 If you use "or" instead of "and" the function will trigger itself and will reload everytime you shoot
@totallyrandompersob1664
@totallyrandompersob1664 3 жыл бұрын
I didn't put reloading. I modified so you collect ammo around the map.
@martinSubeldia
@martinSubeldia 3 жыл бұрын
so he won't let you shoot when he doesn't have bullets if (Input.GetButton("Fire1") && Time.time >= nextTimeToFire && currentAmmo > 0) { nextTimeToFire = Time.time + 1f / velocidadDisparo; Shoot(); }
@SavanaStudios
@SavanaStudios 7 жыл бұрын
Llllllooooooooooooooooove these kind of videos!!!!!!! I struggled with the whole Gun part and your making it soooo easy! Thank you!
@Brackeys
@Brackeys 7 жыл бұрын
Glad you like them! :)
@gamerguy8970
@gamerguy8970 7 жыл бұрын
Brackeys could I make a game and put it on the psp or ps vita please tell me thanks
@zyx8463
@zyx8463 7 жыл бұрын
yes you can! I know how!
@zokaper801
@zokaper801 5 жыл бұрын
@@zyx8463 how then? ooof 2 yrs ago XD
@rgb_82
@rgb_82 4 жыл бұрын
@@zokaper801 yes, how? oof 10 months ago XD
@Owen3H
@Owen3H 7 жыл бұрын
Haha loved the intro :D Btw these short videos are really helpful!
@callumwood-brignall7836
@callumwood-brignall7836 7 жыл бұрын
these past few videos have helped me loads with my college game I am working on
@rjthepanda2644
@rjthepanda2644 6 жыл бұрын
ME TOO! this is great!
@asherblair2939
@asherblair2939 6 жыл бұрын
in case anyone was wonder, all you have to do to set r as manual reload key is type || Input.GetKeyDown("r") inside of if (currentAmmo
@BunnyHopSquadUnite
@BunnyHopSquadUnite 7 жыл бұрын
Would love to see a video on creating recoil :D. Not so much the animation, but something in the code that makes it move your crosshair after a shot forcing the user to replace it back.
@talha9585
@talha9585 7 жыл бұрын
Why not an episode for all GUI stuff? Weapon switch, current ammo..
@ZoZo-vm5sh
@ZoZo-vm5sh 4 жыл бұрын
there is an weapon switch one.
@jasperkoenis3914
@jasperkoenis3914 4 жыл бұрын
ZoZo no to show it on gui he means
@ZoZo-vm5sh
@ZoZo-vm5sh 4 жыл бұрын
Jasper Koenis my mistake :D
@Sohzy
@Sohzy 4 жыл бұрын
@@jasperkoenis3914 it isnt that hard tbh... just have a script that outputs your ammo to text
@nikkiofthevalley
@nikkiofthevalley 4 жыл бұрын
@@Sohzy Yea but maybe he's a beginner LIKE ALL OF US.. Although, it's not hard to program but if the errors were more clear on what they even mean maybe it would be easier to code :P
@Jermz0r
@Jermz0r 7 жыл бұрын
Awesome video! I would love to see a tutorial where you have limited ammo and can collect some sort of ammo pack. Keep up the good work! :D
@irregular1430
@irregular1430 4 жыл бұрын
In case anyone wants a prompted reload (via keypress or such) its really easy just add: || (Input.GetKeyDown(KeyCode.R) && (currentAmmo != maxAmmo)) after if(currentAmmo
@jpalbus244
@jpalbus244 2 жыл бұрын
Thank you worked fine but for the line should than read if(currentAmmo
@davidenale17
@davidenale17 7 жыл бұрын
Nice! Also an animation episode would be appreciated :D (character ik). I mean, when you animate a tps how do you sync your realoading animations of the gun, with the arms?
@dami4335
@dami4335 7 жыл бұрын
Davide Nale sta zitto e impara da solo :P joking lul
@davidenale17
@davidenale17 7 жыл бұрын
zDami lo so fare é che mi é venuto male quindi probabilmente ho sbagliato qualcosa xD
@HalalProgrammer
@HalalProgrammer 3 жыл бұрын
Brackeys you helped me finish my game! Thank you for posting a reload tutorial. You are so awesome!
@theunityguy_yt
@theunityguy_yt 3 жыл бұрын
god bless the existence of Brackeys - another insane tutorial
@AD-xt7tg
@AD-xt7tg 7 жыл бұрын
Why don't these videos have more views THEY ARE AMAZING in every way, I love these videos so much but i'm concerned about Brackey's financial state from all the youtube ad revenue stuff thats been going on. Best of luck thanks for the vid
@GregTash
@GregTash 7 жыл бұрын
Aniket Dembi yes I think he deserves more aswell, brackeys won't be affected by the ad revenue thing btw because he features no inappropriate content or course language in his videos
@Brackeys
@Brackeys 7 жыл бұрын
Thanks for the concern! I'm not too affected by the KZbin changes but my income is definitely not through the roof :) If you want to help me eat you can always support on Patreon! ;)
@GregTash
@GregTash 7 жыл бұрын
Brackeys Ye I would definitely donate if I had a credit card, unfortunately I don't so I can't, but I will donate one day when I do :)
@haykav
@haykav 7 жыл бұрын
Same with me
@AD-xt7tg
@AD-xt7tg 7 жыл бұрын
Defo will give to paetron brackeys has taught me so much in unity from noob to pro KZbin vids worth 1000 dollar courses, when i actually start earning defo will contribute only 16 rn tho : / go brackeys! got me so far
@spacemanJM
@spacemanJM 3 жыл бұрын
I can only wish to be as good at coding as Brackeys, just started coding 2 weeks ago and these videos have been an absolute life saver for me!
@Steven_Something20
@Steven_Something20 7 жыл бұрын
Excited for the behind the scenes video coming soon!
@Gary1q2
@Gary1q2 4 жыл бұрын
Brackeys i love you, u make the most concise, informative and helpful videos for unity. GOOD STUFF
@profesionalshark2253
@profesionalshark2253 3 жыл бұрын
Brackeys deserves the world record for fastest typer
@MrKytman
@MrKytman 7 жыл бұрын
I wouldn't know what to do without these videos, love you soo much!
@JinYuenLing
@JinYuenLing 7 жыл бұрын
So glad I found your channel from Sebastian Lague videos, keep up the good work!
@tr0ph1c
@tr0ph1c 7 жыл бұрын
Thank u sooooo much, all your videos are great ; this series IS THE BEST ONE TILL NOW
@macomix9064
@macomix9064 7 жыл бұрын
I have to say that the new Thumbnail design is awesome. :D
@erdembatmaz5806
@erdembatmaz5806 5 жыл бұрын
Your tutorials have helped out a ton with a recent project im working on. Thank you so much, subscribed.
@DougyFreshGames
@DougyFreshGames 6 жыл бұрын
I could not wrap my mind around the gun setup but you have made it quite simple enough for us buffoons starting out lol. Thank you for these tutorials, they are so helpful.
@tankaddict9147
@tankaddict9147 6 жыл бұрын
Used this method to fire in my tank game, easy to follow and explained perfectly, thanks dude!
@AZASeraph
@AZASeraph 2 жыл бұрын
Brackeys: if we go into unity now we shouldn't have any errors Unity: hippity hoppity errors are now your property
@araskuzucu3456
@araskuzucu3456 6 жыл бұрын
I really like to watch your videos and its really help to my school and personal projects. Nice work!
@marshaliftee9009
@marshaliftee9009 7 жыл бұрын
+Brackeys, I mean Mr. Absjorn Thirslund, mentor won't you continue this series? Desperately waiting for the next part to come, Please add something that we can use to interact with getting on a vehicle. It will be very awesome, I think as you didn't upload any of a car game, this will be a new thing to try and also I am 90% sure your fans out there will love it. And THANKS FOR EVERYTHING ❤
@marshaliftee9009
@marshaliftee9009 7 жыл бұрын
Support this comment and help this reach Mr. Absjorn(Brackeys), so this series stays continued :D
@gamehub4240
@gamehub4240 7 жыл бұрын
Yeah man. I think everyone wants this series to be continued and as brackeys posts quality stuffs his fans don't actually want to follow others and so, We WANT MORE!!!
@ifteekharulislam3876
@ifteekharulislam3876 7 жыл бұрын
#WeWantMore +Brackeys, Please continue the serires
@ellieblaber4243
@ellieblaber4243 6 жыл бұрын
hmm, i guess just simply disabling your player controller and then enabling a vehicle controller when pressing a key looking at the vehicle would work as long as they both have different cameras, although you'd need to create a system for then reenabling the player on the vehicles location
@Gunslinger962
@Gunslinger962 7 жыл бұрын
make a video about adding AI opponents
@alejandrozamora3468
@alejandrozamora3468 7 жыл бұрын
ishtdeep malhi been looking for that myself
@amrinjaffni4268
@amrinjaffni4268 6 жыл бұрын
Im doing my own project after watching you Multiplayer FPS tut, and stuck on reloading stuffs...searched the youtube "reloading ammo unity" and brackeys on the first list basically im saying: luv you brackeys!!!
@jwchunn
@jwchunn 6 жыл бұрын
So good. So helpful. So fast (which I like). Please keep them coming brother.
@owacs_ender
@owacs_ender 7 жыл бұрын
I have a conservation-focused ammo system that I hope is a bit more realistic and intuitive in my game. It uses an array of images, a for loop, and an ammunition counter mounted on the gun. In short terms, it forces the player to think about when they reload and fire, because the system throws away entire magazines and replaces it with new ones whenever the R key is pressed. This means that if you pressed "R" and you had only shot one bullet, you'd be wasting (maxAmmo - 1) bullets. It challenges the player's instincts to keep their current ammo full no matter what. However, you can also use the provided abilities to tele-shove someone into a wall, ceiling, floor, or other person. (I don't care that it isn't a real word, it is now.)
@boeghh6375
@boeghh6375 7 жыл бұрын
I loved the video! Your videos has really improved! :D Love from Denmark ;D
@vision9263
@vision9263 7 жыл бұрын
Rasmus Boegh do you know that hes also from Denmark (I'm also from Denmark)
@boeghh6375
@boeghh6375 7 жыл бұрын
Vision Yea i now 😁
@vision9263
@vision9263 7 жыл бұрын
Rasmus Boegh okay
@boeghh6375
@boeghh6375 7 жыл бұрын
know*
@Brackeys
@Brackeys 7 жыл бұрын
Thanks! That's mostly because Sofia has started editing the videos (y) ;)
@cutepetsforeveryone6221
@cutepetsforeveryone6221 7 жыл бұрын
Damn , good video , i was really needing this , thought ammo picking would be phenomenal , keep it up , man!
@yungmoneyincorporated601
@yungmoneyincorporated601 6 жыл бұрын
I would love for you to have a tutorial on adding animations like recoil and firing and reloading. That would be great! Thanks!
@piyushsharmaofficial2136
@piyushsharmaofficial2136 5 жыл бұрын
Thanks. You help me so much in learning unity from beginning. Thankyou
@AlexVoxel
@AlexVoxel 7 жыл бұрын
Amazing tutorial! ps: Can you please consider doing an episode on gun recoil?
@doggo4616
@doggo4616 7 жыл бұрын
sounds cool :D
@KuzkayDev
@KuzkayDev 7 жыл бұрын
Alex Voxel Hm, you could possibly rotate characters head/camera by 1 or 2° up or down and to the side, Simple recoil
@zokaper801
@zokaper801 5 жыл бұрын
and if u want a phyisical recoil then just add a rb force
@GrayGhost28100
@GrayGhost28100 7 жыл бұрын
Love the videos! Keep up the great job!
@atmyz7860
@atmyz7860 4 жыл бұрын
for anyone who wants it, this script makes your ammo show up in the screen, here it is just change the nametags to whatever yours is: using UnityEngine.UI; public Text ammo; public int currentAmmo; public int maxAmmo = 32; void Start() { ammo.text = maxAmmo.ToString(); } void Update() { ammo.text = currentAmmo.ToString(); if(currentAmmo < 11) { ammo.color = Color.red ammo.text = currentAmmo.ToString() + " RELOAD"; } if(currentAmmo > 10) { ammo.color = Color.white ammo.text = currentAmmo.ToString() + ""; } } of course this just an example, make sure you assign the text in the inspector, this should work if not reply so I can help you
@Username-yb7pe
@Username-yb7pe 7 жыл бұрын
you are amazing, you are the teacher for unity for me. i can now program semi complicated programs. you are amazing.
@johnathanheath6480
@johnathanheath6480 5 жыл бұрын
I just downloaded the Sci-Fi weapon asset pack from your website for My Capstone final project I'm currently a student at Full Sail University for game design. I got the free one for right now, I really like what I see when I get paid next month I see myself buying full package
@digitalkiwi3975
@digitalkiwi3975 7 жыл бұрын
Great tutorial as always man! Would love it if you could do an episode on how to create an aim down the sights mehcanic, Cheers!
@lifehackerandcheater1803
@lifehackerandcheater1803 2 жыл бұрын
This is 5 years old an the best i found
@GregTash
@GregTash 7 жыл бұрын
Thank you so much for making these tutorials brackeys they have improved me a lot! I have a suggestion could you do a tutorial on the animator because I imagine some people including myself struggle with using the animator.
@trhgaming8167
@trhgaming8167 7 жыл бұрын
U are my hero Brackeys, keep going with the videos!!! :D
@Tristannn-
@Tristannn- 4 жыл бұрын
BRO THANKS SOO MUCH I WAS STUCK AT THE PART WHERE IT KEEPS REPEATING THE RELOAD!!YOU DONT UNDERSTAND HOW HAPPY I AM RIGHT NOW😭😭😭
@jackyboy3025
@jackyboy3025 7 жыл бұрын
A recoil tutorial would be cool, i cant seem to find any up to date tutorials on it..
@hasanjaber9811
@hasanjaber9811 6 жыл бұрын
Brackeys you are the best keep going for millons of subscribers.
@magnusm4
@magnusm4 7 жыл бұрын
Great tutorial for basics and their glitches. Very helpful and helps small groups of individual developers make a game. I added a new function to your shooting script to choose meelee combat in a different way than other fps games. Hit q and you can either left click to attack or right click to defend and you can't shoot while in meelee of course. I want to add a Raycast to hit but i'm stuck on either doing that or try and find a way to swing a hitbox and work more like Chivalry and Reinhardt's hammer but there isn't any tutorial on anything like that or something that could help make it
@yungmoneyincorporated601
@yungmoneyincorporated601 6 жыл бұрын
Thank you so much man love your tutorials
@iqball449
@iqball449 4 жыл бұрын
Thanks!!Brackey tutorial reloading
@chummyigbo8844
@chummyigbo8844 7 жыл бұрын
Brackeysssssssssssssssssssssssssssssssssssssssssssssssssssss. You guys are amazing . Thanks
@spacex9999
@spacex9999 7 жыл бұрын
Great video! (I totally watched it all)
@nathanrowe7961
@nathanrowe7961 7 жыл бұрын
Clorox Bleach lol
@oleksandr-petrovych
@oleksandr-petrovych 7 жыл бұрын
realy ?
@nathanrowe7961
@nathanrowe7961 7 жыл бұрын
Clorox Bleach same I totally watched it
@GtaonlineMe
@GtaonlineMe 7 жыл бұрын
Awesome as always, thanks!
@cosmingugoasa5949
@cosmingugoasa5949 7 жыл бұрын
Your videos are so helpful and the quality is very high, keep it up, you are doing a very nice work ! I would like a video on frame rate optimizion :)
@mchristensen5683
@mchristensen5683 7 жыл бұрын
Yo your hair is dope
@brejnastore
@brejnastore 3 жыл бұрын
his animation in one line of code without doing any animations target.transform.rotation *= Quaternion.Euler(0, 0, -60f * 10 * Time.deltaTime); target is gun holder :)
@matthew2219
@matthew2219 7 жыл бұрын
thanks brackeys!!
@wehh1
@wehh1 7 жыл бұрын
Another great tutorial by the one and only. Maybe an animation tutorial would be great in the future. cheers
@Wolcik3000
@Wolcik3000 7 жыл бұрын
amazing stuff
@levizoibesbr4593
@levizoibesbr4593 3 жыл бұрын
hey, im creating my fps game and you are helping me a lot, thanks for this serie, you are the best i dont find no one video BR teaching how you do, thanks for help
@christiangennari6575
@christiangennari6575 6 жыл бұрын
Love your vids! They are so easy to understand, I've got a request though. A video that show you how to create ammo UI pls :)
@maddoxst7009
@maddoxst7009 7 жыл бұрын
hey guys i am actually starting a fps creating with char animations :) and brackeys you are great
@RandomDude00001
@RandomDude00001 6 ай бұрын
Idk why or what happened but because of this video I Learned animating in just a minute
@leewriter4656
@leewriter4656 2 жыл бұрын
So this is just for reloading. This has nothing to do with picking up ammo and adding it to your inventory, right? Or am I doing something wrong? Do you expand on this in another video? Love the work you do!
@ByggJacobPL
@ByggJacobPL 6 жыл бұрын
Hey Brackeys, please make tutorial on how to add animations to weapons while doing certain actions like shooting, reloading, etc. That would be very appreciated. Greetings from Poland!
@christianbarstad1239
@christianbarstad1239 7 жыл бұрын
could you make a video where you make a ammo counter?
@CnBrosOfficial
@CnBrosOfficial 4 жыл бұрын
it's easy you can just make a label and set the text to currentammo! (sry for being late)
@TheBathToaster
@TheBathToaster 4 жыл бұрын
@@CnBrosOfficial i... i think he's asking how to make the label and set the text to currentammo...
@shaunchadwick8628
@shaunchadwick8628 4 жыл бұрын
Thank you helped me so much
@kryptoniancuber6063
@kryptoniancuber6063 7 жыл бұрын
You should make a video explaining what coroutines are and how they work.
@thebatmanhimself
@thebatmanhimself 6 жыл бұрын
some of these weapon models reaaally look like the ones from DOOM
@oliatienza
@oliatienza 7 жыл бұрын
10 unity tips!
@eimiko_lover
@eimiko_lover 4 жыл бұрын
thanks bro
@meltpack8876
@meltpack8876 7 жыл бұрын
Instead of setting a book to play the animation, just disconnect the reload animation and in code type anim.play("reload") instead of setbool
@Bat_pann
@Bat_pann 4 жыл бұрын
Your Hair Is Awesome!
@l3poti731
@l3poti731 2 жыл бұрын
If i change the weapons when the reload is work and a back to the Weapon that was reloading, it doesn't fire. I think the script stops working, but it could be something else. Can anybody help me?
@Arilith
@Arilith 7 жыл бұрын
Could you also do a Networking or Animation video next? I'm fairly new to unity and I have follow your make a multiplayer FPS tut, but these new videos are way more useful and I learn a lot more from them. So I would appriciate it if you would redo some more of your old videos :) EDIT: By the way thank you for these great and informative video's. I've learned very much from these vids. Keep up your good work!
@shubhamsherlekar4591
@shubhamsherlekar4591 7 жыл бұрын
great video
@cfffba
@cfffba 7 жыл бұрын
I love the VS color scheme you're using. Where can I get it?
@MarioOrtiz008
@MarioOrtiz008 7 жыл бұрын
+Brackeys hey are you gonna keep doing c# videos? I loved your beginner tutorials! Cheers :)
@AustinCapitalofGaming
@AustinCapitalofGaming 7 жыл бұрын
cool vid man can you make a vid adding hands to hold the guns
@vladsamsonov9752
@vladsamsonov9752 7 жыл бұрын
Thank you a lot for your tutorials!! :) From Russian with love)
@navjothb
@navjothb 6 жыл бұрын
Keep making cool videos like this :)
@oogaballooga9628
@oogaballooga9628 6 жыл бұрын
Can you go back to this subject and make a gun course on recoil, gun bloom, attachments, etc.
@YANDE09
@YANDE09 7 жыл бұрын
thanks but, how to make ammo and max ammo ui?
@crainyer7329
@crainyer7329 5 жыл бұрын
just give out the variable on a canva, you can find a script easely on yt
@RuiNunesDev
@RuiNunesDev 5 жыл бұрын
@@crainyer7329 I'd also use events to feed the values to the UI
@dami4335
@dami4335 7 жыл бұрын
Are you serious? Only one ad on the video? Man, add more, you need to get paid :)
@sangeethahc1291
@sangeethahc1291 4 жыл бұрын
Can u make a video were we can pickup guns in unity??awesome video!!!
@tranquilmagister8481
@tranquilmagister8481 7 жыл бұрын
how long did it take for you to become this good in programming?
@hatersqn2817
@hatersqn2817 7 жыл бұрын
Could you make a tutorial of how to make a realistic reloading animation? and your videos are soooooo cool!!
@hunterx2210
@hunterx2210 4 жыл бұрын
I do everything on the Animation itself. Things get crazier and complicate when it comes to the amount of save bullets. Say like the gun mag hold 10 bullets. The saving bullet is 300. I have to set up some stage to take exchange bullet if the saving is only have like 9, 8, 7 round left.
@jpeters2782
@jpeters2782 7 жыл бұрын
Dude, I love your videos. Can you do something with google vr (or with vr in general, but I don't think many people have a vr headset at home). I think that would be really awesome.
@tonycaterev4100
@tonycaterev4100 7 жыл бұрын
Great tutorial, thanks! Is there any way to display the ammo amount variable on the display with the UI Text? And a float, which allows to place a sound, when the gun is using? :)
@goatrix
@goatrix 7 жыл бұрын
maybe make an episode about adding sounds to the guns?
@antsscientist430
@antsscientist430 Жыл бұрын
Noob programmer here, how can you make it manually reload when you press R? TIA
@Nemko77
@Nemko77 5 ай бұрын
if (Input.GetKeyDown(KeyCode.R)) {the same stuff} Hope after 1 year it's still helpful :D
@JustKatoh
@JustKatoh 7 жыл бұрын
Guessing UI is the next step? :D What about enemies taking damage? What about the player actually taking damage? or, or... just add a spice of multiplayer? :D
@wkhohwwhulvq3931
@wkhohwwhulvq3931 4 жыл бұрын
Could you potentially make a item pick up system?
@abelredonet5770
@abelredonet5770 6 жыл бұрын
Your rock buddy, thanks for the vid... and.... funny about your hair, it's cool.
How to make a LEVEL EDITOR in Unity
12:13
Brackeys
Рет қаралды 279 М.
How to make a Sniper Scope Effect - Unity FPS Tutorial
26:48
Brackeys
Рет қаралды 320 М.
Random Emoji Beatbox Challenge #beatbox #tiktok
00:47
BeatboxJCOP
Рет қаралды 33 МЛН
Yay, My Dad Is a Vending Machine! 🛍️😆 #funny #prank #comedy
00:17
НАШЛА ДЕНЬГИ🙀@VERONIKAborsch
00:38
МишАня
Рет қаралды 3,4 МЛН
Easy Ammo & Reloading System in Unity
7:48
BMo
Рет қаралды 11 М.
I learned to make Deepfakes... and the results are terrifying
16:19
How To Make A Game Alone
8:11
Thomas Brush
Рет қаралды 1,1 МЛН
HOW TO GAME JAM!
9:01
Brackeys
Рет қаралды 280 М.
How to make a HEALTH BAR in Unity!
21:06
Brackeys
Рет қаралды 1,1 МЛН
C++ Developer Learns Python
9:26
PolyMars
Рет қаралды 2,7 МЛН
Adding a Dragon Boss to my Game Because Steam is Mad at me
10:25
Ammo And Reloading - Unity FPS Tutorial
13:01
GDTitans
Рет қаралды 9 М.
AI Learns to Play Tag (and breaks the game)
10:29
AI Warehouse
Рет қаралды 4,1 МЛН
How to make FPS Animations in Blender 2.8+
13:10
thriftydonut
Рет қаралды 610 М.