hi everyone,
yes… am trying to learn libGdx again, i thought about the time am going to spend learning lwjgl and somehow i decided that libGdx will fit me better, anyway, back to the topic,
i am learning libGdx from some examples i found i also took a look on this guy channel he has some good tutorials to get started with libGdx,
so,
for now i didn’t have a debugging error, i just want to understand how some stuff works, mainly the game loop,
it said that the render() method is the main game loop
[quote]Method called by the game loop from the application every time rendering should be performed. Game logic updates are usually also performed in this method.
~libGdx-wiki~
[/quote]
now when i have a class that implements “Screen” the render method had a float parameter in it called “Delta” which when i print it, i get a value between 0.016 and 0.017, i have no idea what is that Delta variable, and why it’s called only when the class implement Screen (it doesn’t exist when the class extends Game)
in short term, what i want to know for now, should i create a method (or class) to know the frame rate,delta and all the other things we need to have a correct game loop or did libGdx do all that in the render() method ?
thank you