屏幕大小不一致,会导致移动的速度不一样.md 278 B

因为帧率会不一样,所以解决办法,是在移动的函数逻辑,通过时间量,乘以这个的限制maxDistanceDelta

![[Pasted image 20230703162447.png]]

![[Pasted image 20230703162455.png]]

同理,就可以解决了

![[Pasted image 20230703162518.png]]