All you need to do to keep surviving is just keep pressing endlessly the down arrow and the S button while facing in opposite directions.
Or, you can just enter the shops at the start of the game, and nobody will get hurt. You should have had added some neutral npc to protect, so, and some mobs that can shoot in an arc from a distance to hit them.