eva-engine / eva.js

Eva.js is a front-end game engine specifically for creating interactive game projects.
https://eva.js.org
MIT License
1.75k stars 108 forks source link

在Ticker中增加setTimeout/clearTimeout方法,保证延时执行能和游戏的速率相关 #190

Open fanmingfei opened 2 years ago

fanmingfei commented 2 years ago

增加nextTicker来解决需要下一帧才能执行的代码。 https://github.com/eva-engine/eva.js/pull/191/commits/83da49b7b5b4cbfd96ec23abca108d948d20ff77