he stays on the screen and when he dies, I die too, I changed the stage level and returned to normal, but I wanted to know why it happens on the previous level, thanks!
Thanks friends for the help, I identified the problem, it was in the txt file of the level in the levels folder, opening the txt, I saw that there was a hashtag in the char enemy. sorted out!