Currently this doesnt feel great to play. When you jump it stops forward movement which makes it hard to get through gaps without hitting red blocks.
Consider how Mario works and why that feels good to play.
This is also a great learning resource for platformers https://gmtk.itch.io/platformer-toolkit