Hello.
I am writing a html5 platformer, and so, the task was to rotate the image of the hero, all this on the canvas. But when rendering, the background and all the other characters also rotate, porridge in one word.
I rummaged through the entire Internet in search of a solution to the problem, tried to create a new context for each hero this.ctx = canvas.getContext("2d"); but did not help, I ask for your help, thanks in advance!)