This is brilliant thanks (:
I have a question about the coding he uses. Are those codes the same what everyone kind of uses? like:
long delta = System.currentTimeMillis() - lastLoopTime;
lastLoopTime = System.currentTimeMillis();
and
g.dispose();
strategy.show();
and
try { Thread.sleep(10); } catch (Exception e) {}
and
JPanel panel = (JPanel) container.getContentPane();
panel.setPreferredSize(new Dimension(800,600));
panel.setLayout(null);
The names he uses that make the game work, are they the same with any coding? Like for your loops, do you use “lastLoopTime” exactly for that specific behavior?
Is it like a lot of memorization to know all these exact codings to know what to do with it, or is he making those codings the way they are?
