Welcome, Guest. Please login or register.
Did you miss your activation email?
July 31, 2010, 11:35:01 am
advanced search




Pages: [1]
  Print  
Author Topic: Limit fps or use another Update thread  (Read 742 times)
sayers
Newbie
*
Offline Offline

Posts: 15


View Profile
« on: August 29, 2008, 05:04:27 am »

Hey, my friend and I wrote a game using a GameState and attaching it to a SimpleGame. This is JME2. The problem is the ball moves a lot faster in a lower resolution due to a higher FPS. My question is, can we limit the FPS or use a different Update method / thread that doesn't go so fast or completely rely on the FPS.
Logged
skyuzo
Jr. Member
**
Offline Offline

Posts: 85


View Profile
« Reply #1 on: August 29, 2008, 07:45:08 am »

Multiply the movement by the time per frame, and it should move at the same speed.
Logged

Tags:
Pages: [1]
  Print  
 
Jump to: