search

Home  >  Q&A  >  body text

javascript - I made a canvas game. When the map camera zooms in on the map object, the fps is very stuck and the animation is not smooth. How can I solve this problem?

It should be that the css used to enlarge the camera, which is the canvas, will cause instability. What should I do?

女神的闺蜜爱上我女神的闺蜜爱上我2697 days ago941

reply all(2)I'll reply

  • 扔个三星炸死你

    扔个三星炸死你2017-07-05 11:05:02

    Thanks for the invitation. I am not familiar with canvas tuning. Can you help me? Maybe try the egret engine?

    reply
    0
  • 三叔

    三叔2017-07-05 11:05:02

    See if double buffering can help you. You can search for JavaScript canvas double buffering, and I randomly searched for two below

    • http://tech.it168.com/a2012/0...

    • http://itindex.net/detail/470...

    reply
    0
  • Cancelreply