Make A Game In Unity With No Experience #9: Weapons and Loops

Опубликовано: 13 Май 2026
на канале: Tom Francis
5,140
194

Update! Mislav Požek in the comments below figured out the bug I'm wondering about at the end of the ep, thanks Mislav! I'll go through it next episode or you can read it here:    • Make A Game In Unity With No Experience #9...   Sorry for a bigger gap since the last one, lots going on and had some RSI issues. This episode we make our gun a separate thing so that we can design a variety of weapons. I might have forgotten to say what an integer is: it's a whole number. So if we declare a variable as an int rather than a float, it can't be 4.5. So they're common for variables that exist to just count something, which is why they're used for loops. Also i++ is the same as i += 1, it's just shorthand for that. I usually won't use needlessly different syntax but the way a loop is written is very standardised so I forgot to explain some of the peculiarities of it.

Start with part 1, obviously - here's the playlist:    • Make A Game In Unity With No Experience  

You can download the project files for each episode here: https://drive.google.com/open?id=19L7...

Please don't hesitate to tell me in the comments if anything is unclear - I can both clarify in a future ep, and adapt the pace to improve in future. If anyone's left behind there's room for improvement.

If you're not getting the same results I am, download and check my version of the project - if that doesn't work either, something's up with your install or PC. If my version works but yours doesn't, there must be a difference between them - hunt it down if you can, or just use my copy going forward.