Slick Forums

Discuss the Slick 2D Library
It is currently Sat May 25, 2013 7:13 pm

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: How do you uncap FPS?
PostPosted: Thu Feb 09, 2012 6:54 am 
Offline
Game Developer
User avatar

Joined: Wed Feb 17, 2010 12:24 am
Posts: 594
I see a setTargetFPS:
http://slick.cokeandcode.com/javadoc/or ... e%28int%29

But if I set it really high (9999) the getFPS() doesn't update.


Top
 Profile  
 
PostPosted: Thu Feb 09, 2012 7:46 am 
Offline
Regular

Joined: Sun Oct 25, 2009 5:24 pm
Posts: 118
Try 0 or -1


Top
 Profile  
 
PostPosted: Thu Feb 09, 2012 5:11 pm 
Offline
Slick Zombie

Joined: Sat Jan 27, 2007 7:10 pm
Posts: 1469
Use setTargetFPS(-1).


Top
 Profile  
 
PostPosted: Thu Feb 09, 2012 10:27 pm 
Offline
Game Developer
User avatar

Joined: Wed Feb 17, 2010 12:24 am
Posts: 594
-1 works, thanks.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group