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
968
It should be that the css used to enlarge the camera, which is the canvas, will cause instability. What should I do?
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 belowhttp://tech.it168.com/a2012/0...
http://itindex.net/detail/470...