How to have relative mouse position on javascript 2D canvas of online chat where people can move their character with click

前端 未结 0 1147
我寻月下人不归
我寻月下人不归 2021-02-10 09:32

I am creating a 2D enviroment that acts like chat but with avatars that can move through the canvas. Users can move their character through the screen clicking on the x axis whe

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