I'm currently making a 2D action topdown game. My intend is to make glass shadow effects for the player hearts (health) whenever they go from full to empty, which are exactly like this video https://www.youtube.com/watch?v=JU2jaVewfxY&t=46s
I have no problem recreating the particles2D, but as a beginner, I have no ideas how to apply it into code. Hope anybody can give me some clues in order to recreate the effects into my game, thank you and wish you have a wonderful day.