How to improve the framerate in simple java game loop?

前端 未结 0 1435
旧时难觅i
旧时难觅i 2021-02-07 00:20

I\'m working on a java 2d game, using this simple game loop to cap the FPS and UpdatesPS to 60:

public void run() {

        final int MAX_FPS = 60;
        final         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题