IORDANISL IORDANISL loading
Hello everyone. I have made a pac-man game for my project and I have noticed that even if i have a code which prevents pac-man from moving past the blue line sometimes it glitches and gets stuck on it. This happens always when i press 2 keys at the same time e.g a+w or up arrow key + right arrow key. At stage 2 this some times happens without pressing 2 keys together. Another thing that I have noticed is that some times if pac-man eats a dot and losses at the same time the counter of dots eaten doesn't change accordingly and the game cannot end as I have put it to end when the dots counter reaches the Dots_number. Any advice? Here is the link to my project:

https://scratch.mit.edu/projects/964844021