Game loop
Game loop
The main game loop handles three major tasks:
Get user input
Update the game state
Render
while(true) {
processInput()
update()
render()
}
Links
Last updated
Was this helpful?
The main game loop handles three major tasks:
Get user input
Update the game state
Render
while(true) {
processInput()
update()
render()
}
Last updated
Was this helpful?