Recently, I decided to make a new game and give that chance to libgdx framework. Long time ago, I used to make some games in Slick2D, and I remember that their approach when it comes to update(delta) and draw() object, was different, then now in libgdx which has only render(delta). So I came to idea, to abstract game, and make my own class Game and Screen with update & draw. However, now I'm in doubt regarding parameter delta from render method. Watching some examples on the internet regarding libgdx with implementation concept update and draw, people were passing delta parameter from render method to both update and draw methods. From this description, my questions are:
Note that just taking the delta time as-is can cause e.g. teleporting on hick-ups and is not discrete. Therefor it's usually a good idea to limit the value (e.g. delta = Math.min(delta, 1/30f);
). Using a fixed time step is often used when you need your game logic to be discrete.