Discovering ways to implement AI behaviour for a small game.
After 2 weeks of watching videos, following tutorial instructions and exploring sample projects it is time to try making a first game.
Learning about Unity and game development after 20 years of playing games in my spare time and creating software business systems in my career.
Continuing on from the previous post about Tags vs Layers this post leads into one of my favourite C# coding features; Extension Methods. Here we see a Raycast checking for hits against multiple possible layers. In this example we are scanning ahead of a moving projectile and triggering the Destroy function on both the projectile... Continue Reading →
One of the first mechanics I came across when learning simple game programming in Unity was objects identifying other objects. Whether it be a collider collision, raycast or other function you require a way to identify the object and decide what to do about the object you have found. Basic tutorials cover using tags and... Continue Reading →