Top "Game-loop" questions

The central component of any game, from a programming standpoint, is the game loop.

Best way for simple game-loop in Javascript?

Is there a simple way to make a game loop in JavaScript? something like... onTimerTick() { // update game state }

javascript game-loop
How to show alert dialog in a running thread?

I'm developing an Android Game.In this game, There are tracks on which trains run. This is running thread. I …

android android-alertdialog game-loop
in AS3, removeEventListener(Event.ENTER_FRAME) is not working

I have been dealing with this problem for days already. I am at my wits' end! I can't seem to …

actionscript-3 event-handling event-listener game-loop enterframeevent
How to make timer for a game loop?

I want to time fps count, and set it's limit to 60 and however i've been looking throught some code via …

c++ frame-rate game-loop
Simple Game in C# with only native libraries

I could find a set of java 2D game tutorials and android game tutorials which uses only native graphics libraries. …

c# winforms graphics game-loop c#-native-library
In JavaFX how do I move a sprite across the screen?

I'm new to JavaFX and am trying to write a game where an animated 2D character walks across the screen (…

animation javafx sprite translation game-loop
What's the proper way to write a game loop in Python?

I'm trying to write a python game loop that hopefully takes into account FPS. What is the correct way to …

python game-engine game-loop
C++ game loop example

Can someone write up a source for a program that just has a "game loop", which just keeps looping until …

c++ sdl game-loop
android game loop vs updating in the rendering thread

I'm making an android game and am currently not getting the performance I'd like. I have a game loop in …

android opengl-es thread-sleep game-loop
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 …

java multithreading swing game-loop