Hello everyone! I am am new to java, but not coding overall. I want to start making a simple Java 2D game and work my way up from that. But the problem is, i dont know where to start. I know a lot about the basics of Java. I’m a tad bit rusty on threading but that about it.
Alright, so the problem is: I dont know where to start.
Like, at all…
I take a look at the tutorial section of the site and it has a lot of helpful things! Maybe not a lot but it sure can help! So im like, “Alright, this is understandable.” So i continue to read it and yes, it is really easy to understand. I start off my java project and continue the Basic Game class in the tutorials section of the forum. But then, my head starts to fill with an immense amount of questions and i dont know what to do…
Like, for example:
1. Whats the difference of Drawing on a JPanel, Canvas, and JFrame? Why do i sometimes need all 3?
2. What is the concept of deltaTime?
3. What the heck is a bufferStrategy!? (Seriously, cant find anything on it.)
4. Why do you pack(); a frame? Or any other means of Components.
5. Why is it that whenever people say to use threads to keep games running smoothly; then i use threads, and its sleeps the entire program?
6. Why is that people have a lot of different ways for setting up a gaming class? Are others not considered correct?
Those are just 6 of the seemingly long list of questions i have for Java, and im pretty sure i have more. But i mean, if anyone can answer feel free?
I suppose the main reason for this post was, where do i truly start java game development? Most of the things i know are coming from Java Tutorials itself and reading books? Now, im kinda at that point where i dont know how to continue.
Can anyone share their stories of how they accomplished getting to where they are now?
Thanks in Advance.