I’ve turned back on myself and I’m working on Meteor Arena yet again! I realized that my programming skills weren’t up to par and were holding me back the hard way so I spent the past month learning C# and practicing.
The past week I’ve been implementing the AI Steering Behavoirs and a StateMachine in C# from the book Programming Game AI by Example, it’s been a lot of fun, I think I’ll make a few blog posts detailing the Unity implementation of the State Machine and AI if people are interested.
Anyways as the title says, Pew Pew! I spent a bit of time today implementing a laser beam system. It’s a fairly simple script and uses the LineRenderer component of Unity. The noise function can be used to create random noise in the beam. You should attach a particle system to the beam script as well if you want it to do shot some sparks when it hits something.
I’ve uploaded the script here and you can see how it looks: