The code is very good.
It will be clean without errors.
Thank you.
There is a tremor when the player moves in the code I made.
(5 To remove any jittering, draw your sprite with the given draw position)
I'd like to use the drawX and drawY codes separately.
Can I apply drawX, drawY to the code I made?