My Brill Game Site My Brill Game Site

Simple Game Companion

Part 1

Next>>

Summary

This is the first part of the series where we get an overview of the project, our development environment set up, required packages and libraries installed and dive head first into coding.

Austin jokes about spending 40 minutes only to get a cube moving around the screen but when you haven't done any Unity programming before even that feels like an amazing achievement!

Video

Next>>

My Thoughts

The intro music to the tutorial is amazing. I just had to get that out there!

This part really sets the stage for how the course is going to go so if you aren't that keen on Austin's style in this one you may want to duck out now cause it is fairly consistent throughout. I like the pacing on this video, a lot of interesting concepts are covered such as vectors, rates of updates, discussion about instances, explanation of RigidBodys and forces and they are all covered pretty clearly and concisely.

Perhaps a little too long is spent tweaking the colours used in the game but since this is a video and visuals play a pretty large part in catching and keeping people's attention I guess he can be forgiven.

Common Issues and Errors

+ Error - 'Type `UnityEngine.Vector3' does not contain a definition for `GetAxis''


+ Error - ' error CS0120: An object reference is required to access non-static member `UnityEngine.Rigidbody.AddForce(UnityEngine.Vector3, UnityEngine.ForceMode)''


+ Issue - No autocomplete information appears with typing rigidbody.velocity or rigidbody.AddForce and code doesn't compile.'

Code for Unity 4

The code for this part of the tutorial is the second commit to the project on GitHub:

https://github.com/RyanfaeScotland/GoHome/tree/fc1398462a5d67f2ffc4fffbbcabee38b11d479c

Note that it is the same code that is used in Part 2 of the tutorial as it is in Part 2 (actually the start of Part 3) that we first save our project making it suitable for committing to a repository. If it was committed before that, nothing in the hierarchy would have been saved!

Code for Unity 5

Not yet available.

If you do not know how to work with GitHub check out this link for basic instructions: Getting Started With GitHub.