Update Time!
Since the last devlog, I worked more on the player, created a boss and added destructible objects.
The Player
I smoothed the camera movement when the player shoots and moves. Although the smoothing on movement was accidental because I didn't intend for it to happen ^^" The way it works is the camera is constantly looking at a target that moves to a designated position (halfway between the mouse and player when attacking and to the player otherwise). However, I made it that the target doesn't snap to the player and instead chases after it, creating the delayed camera movement.
Movement
Firing
The Destructible Objects
I created two types of objects. An exploding type and a normal object that has a chance to drop an item when destroyed. All explosions destroy these objects so exploding objects can cause chain reactions! The way I programmed it allows me to use any model and any loot table (an array of items) without worrying about what items can be destroyed from bullets and explosions.
Exploding cylinders barrels!
The Boss
The first boss of the game was something that I had in mind for a bit. I didn't want to make it too hard but also not something that you can just spam attacks and defeat easily. I made three attacks: A basic shooting attack that fires at the player at regular intervals; A beam attack that the player must dodge through (That stills some fixing); A circular patterned attack that fires sets of bullets at the player at regular intervals.
Basic attack
Circle Attack
Basic attack when the boss reaches half health.
I used AI Behaviours to make the boss keep a certain distance from the player while being able to still fire.
I don't know if I'm going to keep the attacks like this or change them but until I do some play-testing and get feedback, I don't think it's worth changing.
End of Update!
Finally, I finally know what the game's story and name is going to be! Since this game is very similar to a vertical slice I made, I decided to just use the name and story of that game. In the end, I ended up working on it without even thinking about it!
So say hello to Miriam's Madness! I'm also going to change the title of this topic to fit this update.
Thank you for reading!