Limit fps?

How would you limit the fps?

create a new AppSetting and use the setFrameRate method

1 Like

I tried this:



AppSettings ap = new AppSettings(true);

ap.setFrameRate(75);



However, it did not do anything. Am I doing this correctly?

Weeeeee, I feel like I copy-pasted this recently… A few posts down… Either way :stuck_out_tongue:



[java]

public static void main(String[] args) {

app = new Main();

settings = new AppSettings(true);

settings.setFrameRate(75);

settings.setTitle("Your application title here woo!");

app.setSettings(settings);

app.start();

}

[/java]



Cheers!

~FlaH

1 Like

Thanks! it worked. Thank both of you!