The idea is nice, I found some glitch when the player change directions.
Also sometime the player got stuck in places like in the picture below.
A certain point i got stock and I couldn't move
I think you have to polish it a little bit, I like that when you died you restart from a previous place and not from the start of the level.
If you solve these couple of issue will be a great platformer. Good job.