It was really hard to successfully draw a loop. Connecting the ends is really hard, especially when the screen is scrolling. I ended up trying to draw the loop as fast as possible, because otherwise the enemies would destroy my loop. At first I was trying to avoid drawing a loop around myself, because I thought I would damage myself, but that turned out to be safe. After a while I started trying to kite away the fast enemies from the slow enemies, so I had more clearance to draw a path that was safe from getting trampled. After some experimenting I discovered that my player could move through the path without destroying it, so what I started doing was drawing a U-shape around myself, walking through it, then closing it really quick after the enemies chasing me walked inside.

I'm really proud of that strategy, and it's fun to do. Unfortunately my computer started to lag after about a minute of playing XD It's too bad because I would keep playing otherwise!