Mob dropping attack from above as it gets closer to player


I’m new to game dev and the first thing I wanted to try to make is an infinite side scroller type game.

I would like to add mobs that drop things from the sky, think a bird dropping poop type of scenario and the player needs to move to dodge.

I’m having trouble finding tutorials on how to do such thing, maybe my search isn’t right, but I wanted to come here as well to see if anyone knows any tutorials for this or can help guide me in how to accomplish this.


Jump on red button on the left