Cleaning up the last bit of the code before going into the framework. Got the enemies shooting as well.
This first gif here is my initial implementation. As you can see it didn’t work quite right.
This was after some changes. Almost got it. Though the laser doesn’t do damage, it’s still going down properly. Though the place it fires from was off.
A simple bool check and a way to allow for that to be during instantiation. Change the tag to differentiate between this laser and the player’s laser for the player.
Fun Fact: The enemy laser hit’s 2 times. :D
Now getting into the framework is going to be fun to truly make the game mine. On to the next.