This week I wanted to go a bit slower, so I stopped the game.
Added in a pause menu that makes it clear that the game is paused so I made it greyish. This was achieved by using postprocessing and setting saturation to 0.
Added the fancy shield particle. At first there was a slight bug with the shield that if you went through a sphere you would still get hit as the boxcolliders of different obstacles overlap in the middle. So I fixed it by giving you an invincibilty when the shield gets destroyed. This is only a for a very small amount of time as we do not want to enable them to not get hit by the next obstacle.
Also did some restructuring in the spawning scripts so it all spawns and despawns correctly. Also added the rotation back in there as a little bonus. 🙂