Arrow keys to move and space to swing your sword. Break the tree to move on to the next level.
I also made this before I left scratch. Thank you very much to team Cherry who made Hollow Knight.