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?
女神的闺蜜爱上我
女神的闺蜜爱上我 2017-07-05 11:03:02
0
2
907

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

女神的闺蜜爱上我
女神的闺蜜爱上我

reply all(2)
扔个三星炸死你

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

三叔

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...

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!