The Game Loop | Java Pong Part 2

preview_player
Показать описание
In this video, I go over how to create the game loop, with a variable fps rate, for the pong game. At the end, I include some additional information on how to draw to the window using Java Graphics.\

Рекомендации по теме
Комментарии
Автор

pretty stoked I stumbled upon your channel Gabe! I'm going through a Java course in university right now and this is the perfect project to keep things interesting! not a lot of good Java tutorials out there but so far this one rocks.

therealbradleywayne
Автор

The loop is very clear, but I have a couple of questions.
It's better to implement 2DGraphics directly or to use something like JPanel?
Are you planning to use more threads?

Thanks for the videos!

furasuko
Автор

I did not understand why did u done Time - lastFrameTime
pls tell me the reason

supergamingboy