DAY 10
Hello I am back. I couldn't work on the project last week because of a thing that happened but anyway I'm a bit more capable of working now. I have set up the project a little bit in Unreal, cut out the template movement code, and started a bit on the railgun shooting implementation. Currently I just have a very basic raycast check for any enemies, and damage gets dealt accordingly. The railgun is intended, at the moment, to shoot through enemies, so every single enemy hit by the raycast will take damage. Screenshot below bada bing.
The railgun shoots when you release the left mouse button; tomorrow I'll try and work on pressing the left mouse button to charge your shot so you deal more damage the longer you hold it down. Eventually the railgun will have a cooldown period between shots as well, with the cooldown extending the longer you charge the shot. The intent is to make you think about each shot, and aim precisely so you catch as many enemies as possible within its area of effect. Thanks for reading, see YOU later.