changed UPS to 200

This commit is contained in:
Urban Modig
2025-08-30 13:44:39 +02:00
parent 63b2b7ae68
commit 4597279d9e

View File

@ -9,7 +9,7 @@ import javax.swing.*;
@Slf4j
public class Game implements Runnable {
public final static int FPS_SET = 120;
public final static int UPS_SET = 120;
public final static int UPS_SET = 200;
private final static double timePerFrame = 1000000000.0 / FPS_SET;
private final static double timePerUpdate = 1000000000.0 / UPS_SET;