#gamedev #java #gameloop
TimeStamps:
00:00 Intro
00:13 Quick Fix
00:56 Why a game loop?
01:43 repaint
02:12 FPS counter
05:38 Setting a FPS limit
10:50 Update
17:12 Thread
24:06 Cleanup part 1
27:21 Cleanup part 2
29:41 Game loop finished (for now)
30:18 Recap
32:12 Outro
Hello and welcome back to this Java Game Development journey.
We continue this series by learning about Game Loop. What is it, and why do we need it? We start by the most basic loop we can have and work our way to a much better and stable one.
LINKS:
Discord - https://discord.gg/NPQy5UQkJZ
Code - https://www.kaaringaming.com/tutorials
Code on github - https://github.com/KaarinGaming/TowerDefenceTutorial
Twitter: https://twitter.com/KaarinGaming
Thread class: https://docs.oracle.com/javase/7/docs/api/java/lang/Thread.html
-----------------------------
Wish to support me?
You can do so on:
https://www.buymeacoffee.com/kaaringaming
Everything is appriciated!
-----------------------------