After a week messing about with Unity and following various tutorials I’m starting to feel like this is a thing that I could actually start getting good at with enough practice.
The tutorials I’ve covered so far include some essential stuff like how to make your player character move, how to make collectible objects and count them on a GUI, how to make enemies and make them spawn randomly, and even a little bit of how to use raycasts which are basically the workhorse to use for everything from line of sight to platform detection to shooting a gun.
Admittedly, a lot of it hasn’t fully sunk in yet. I can reliably script in basic movement controls but a lot of the more advanced stuff I still need to practice a lot more to get it down pat. This is tough, because most of the tutorials I find just run through the code you need to write without explaining the nuts and bolts of why it works and how to plan out what you need to do.
I found one great set of beginner tutorials where the guy running them would take you step-by-step through each new piece of code, and push you to try and think out your approach and study the documentation for what you need. This approach works really well, but unfortunately he only has a dozen or so videos covering the basics.
The hardest thing is when you hit a brick wall. I spent most of yesterday just trying to get a third-person camera that follows the player without rotating the wrong way if the player stands on a slope, but I couldn’t work out how to do it. This was when I discovered the wonderful terminology in the title –
Quaternion.Slerp is relevant somehow but for the life of me I don’t know what it actually does.
Still, there’s nothing that fills you with pride more than seeing your little purple cube running around collecting red and green spheres.