Some news on the project.
Changed the method of drawing sprites and the size of sprites. Now there is enough space for the game to fit completely into ATMega32U4. In addition, there is even space for adding new features to the game - which I will soon do.
Realized the output of the display “gray” pixels by changing their state to the opposite through the frame. Accordingly, I received two gradations of the brightness of the pixels in sprites.
It did not look very good. The flickering of “gray” pixels is annoying. Unfortunately I had to abandon this way of displaying sprites. (
Now I add new visual content (new walls and floor). Work continues.