About 46,300 results
Open links in new tab
  1. What should a main game loop do? - Game Development Stack …

    Generally, what are the core things that one should do in the game loop, and what are some things that one shouldn't do in the game loop?

  2. Best way to implement game loop without freezing UI thread

    May 18, 2010 · 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 …

  3. Java Game Loop Efficiency - Game Development Stack Exchange

    Jul 3, 2018 · I was watching 2 video tutorials on how to make java game and read a couple articles about game loop. However, I'm still confused about how game loop actually works. The first tutorial …

  4. The most efficient and accurate game loop? - Game Development …

    I think the most efficient way to address your performance issues is to do some profiling and optimize the parts that are proven to be too slow. Spawning threads is a bit extreme. Your multithreaded …

  5. Java Main Game Loop - Stack Overflow

    I am writing a game loop, I found the code in the example below here. I have also looked at other ways to do a game loop, such as from this article. I couldn't get any of those ones working though....

  6. Best way for simple game-loop in Javascript? - Stack Overflow

    Feb 5, 2012 · We want to inject our game loop into WebKit’s managed rendering loop. This will help smooth out the rendered graphics. We also want to split up the draw and update functions. This will …

  7. Making a game loop to run multiple threads

    Apr 20, 2024 · My "game loop" uses a timer object that fires and runs a block of code every 50 ms. In that 50 ms, I run everything I need to do: move objects, etc. So, effectively running at 20 FPS which …

  8. terminology - Is there a clear distinction between Game Loop and ...

    Mar 24, 2023 · The term "game loop" usually refers to the programming pattern that is the core of most game engines, while the term "gameplay loop" is a game design concept about how game and …

  9. game loop - How to make fixed timestep in Java - Stack Overflow

    Sep 28, 2016 · How should we make fixed timestep in Java? I think there are 2 ways: Synchronised game loop using while. Asynchronised game loop using Thread. The most important thing is …

  10. multithreading - Java Game Loop Explanation - Stack Overflow

    Dec 24, 2013 · Recently, I've been getting into Java Game programming. I have learned Java before, but this is my first time with Graphics, Game Loops etc. I followed this tutorial for a Game Loop, and …