TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

How to make your game run at 60fps

1 点作者 TylerGlaiel大约 6 年前

1 comment

vkaku大约 6 年前
Good read. There is no easy recipe to 60fps. Here are some other things to think about:<p>- Number of physics&#x2F;logic steps per second. A good 3D Pinball game could do 1500 physics iterations per second on a PC, but may not be able to do that on a low end phone.<p>- Display size and fill rate issues. iPads with the same processor used to do worse than their iPhones. There must be a scale&#x2F;virtual scale factor considered when rendering.<p>- Texture&#x2F;Compression&#x2F;Bandwidth changes. Not every device will be able to use the exact textures or compression method.<p>- Touch&#x2F;Input latency issues. It is important to not aim for the unrealistic mega player who works with frame data. It should be a little forgiving.<p>- Better to drop frames or do adaptive screen scaling as required in a highly interactive game.<p>- Better to have a benchmark framework within the game to set sane defaults on initialization.