My advice would be to stay near the curtains and pay attention during the floor spikes phase, as there are specific safe places where you won't get hit. That boss can be quite annoying haha
Viewing post in Automagoria - Definitive Edition comments
Oh wait, I thought you were talking about the boss!
The monsters in your picture have a cycle: they look in a specific direction for some seconds, and then they look in the other direction. You just need to move while they're not looking towards you. They have been designed to be unbeatable. It's more like an stealth section