game-loop
Where to place main game loop in android game
I am trying to write some skeleton for a game on android, using OpenGL. I would like to know, where should I place my main game loop code?[详细]
2023-01-21 16:54 分类:问答Is this a good implementation of a FPS independant game loop?
I currently have something close to the following implementation of a FPS independent game loop for physics based games.It works very well on just about every computer I have tested it on, keeping the[详细]
2023-01-20 20:00 分类:问答Object movement choppy when frame rate is capped
I\'ve been having some trouble with choppy movement of objects in a game. If the frame rate isn\'t capped, the game runs smooth.[详细]
2023-01-20 05:35 分类:问答Basic design of a multithreaded game server?
How are multithreaded game servers written? If there are 4 threads, is there one thread running the game loop, and 3 accepting and processing requests? Also: is information sent from the thread runni[详细]
2023-01-18 02:32 分类:问答iPhone game loop hybrid
I had an idea for an app that would require me to implement these little sprites that would require basic physics features like gravity, acceleration, etc... so naturally I looked into a game loop for[详细]
2023-01-16 08:37 分类:问答iPhone Deck Game Loop
can anyone tell the best approach to run game loop like Uno or Herats (Deck Game) [CPU2 turn]; [CPU3 turn];[详细]
2023-01-08 02:25 分类:问答How do I get a consistent speed on new as well as old iPhones?
I\'m in the process of creating a 2D game in OpenGL ES for the iPhone. I\'m calling my game loop using NSTimer at an interval of 0.002 (60 fps) with repeats set to \'NO\' (I\'m running the NSTimer aga[详细]
2023-01-06 12:55 分类:问答Pausing a Thread - Activity pause timeout for HistoryRecord
I\'m trying to write a game engine in Android, but I don\'t have much familiarity with threads. My thread has an attribute, mSurfaceHolder, which holds the surface that I\'ll be drawing to. The run()[详细]
2023-01-05 10:07 分类:问答C++ game loop example
Can som开发者_开发知识库eone write up a source for a program that just has a \"game loop\", which just keeps looping until you press Esc, and the program shows a basic image. Heres the source I have r[详细]
2023-01-03 01:47 分类:问答Best way to implement game loop without freezing UI thread
I\'m trying to make a simple 2D game in Java. So far I have a JFrame, with a menubar, and a class which extends JPanel and overrides it\'s paint method. Now, I need to get a game loop going, where I[详细]
2022-12-30 14:20 分类:问答