How to flip an image in javascript on a html canvas?

前端 未结 0 1077
鱼传尺愫
鱼传尺愫 2020-12-13 01:48

I am making a game in pure js with an HTML5 canvas. My player is a cube but its weapons are images. I have successfully drawn the image on top of the player:

         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题