In this video, we are setting up the game loop using a Java Swing timer. The Swing timer is simple to set up, and a decent alternative to rolling your own timer for beginning developers. Swing timers take 2 parameters, delay and actionlistener. In this video, we learn how to write an action listener and set the delay of the timer.

We highly suggest you leave us any comments or feedback that would aid in bettering the production of these tutorials. Additionally, subscribing to us will help us to better engage you (the audience) such that we can improve our tutorials even further!

game development in c++
game development for beginners
game development time lapse
game development in Java/LibGDX
game development in unreal engine
game development behind the scenes
game development for android
game development for HTML5
Difficulty Levels: Beginner, Intermediate, Advanced

Please Consider Supporting This Channel via Subscribing:

— Extra Content I Suggest —

Book: “Clean Code” – Robert C. Martin –

Sign Up for Monthly (non-spam) updates:
Support Us:
Follow me on Twitter:

#programming #code #gamedev