Thank you for playing.
It's not a bug that you didn't die I just forgot to add a death mechanic , you see this game is actually the project that I made for brackeys game jam which was during the same month , during the last week I took that project and made it into this but I forgot to add what happens when you die.
I only had half a month for this that's why I couldn't make art and animations for it , I have code for them , and I also wasted a few days making assets that I ended up not putting in this demo :'( .
But that's too many excuses I can do better next time.