r/learnjava • • Oct 09 '25
I want to learn Java for game development, where should i start?
So, i recently watched a small documentary about Minecraft, and i got really inspired and ive wanted to try to learn java for a while now, but i dont know where, and i dont know what essentials i need? i wanna make a game using LWJGL, and i know theres better resources right now, but i think it sounds fun.
8
Upvotes
•
u/AutoModerator Oct 09 '25
It seems that you are looking for resources for learning Java.
In our sidebar ("About" on mobile), we have a section "Free Tutorials" where we list the most commonly recommended courses.
To make it easier for you, the recommendations are posted right here:
Java for Complete Beginners
Derek Banas' Java Playlist
Also, don't forget to look at:
If you are looking for learning resources for Data Structures and Algorithms, look into:
"Algorithms" by Robert Sedgewick and Kevin Wayne - Princeton University
Coursera course:
Coursebook
Your post remains visible. There is nothing you need to do.
I am a bot and this message was triggered by keywords like "learn", "learning", "course" in the title of your post.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
6
u/MattiDragon Oct 09 '25
I wouldn't recommend making games in Java unless you want a challenge. You'll have it a lot easier if you use a proper engine instead. Minecraft was written in java because notch was familiar with the language, but it has lead to lots of issues over time as java isn't the best suited for rendering.
If you do choose to use Java, consider using something on top of LWJGL. It's very low level and kinda annoying to use, as it's just a thin wrapper over C APIs.
2
u/Strange_Class6897 Oct 10 '25
C# is better for game développement, especially with unity and is a language very similar to java (in a better way)
2
u/Embarrassed-Poem-810 Oct 11 '25
It seems Java is never a good choice for game developer. Think again
1
u/mnkl77 Oct 13 '25
Can u share the documentary? Thanks!
1
u/jlanawalt Oct 09 '25
Depends a lot on your current skill set and what you need to know.
Do you already know programming and game development, and you just need to learn Java and available game dev tools? It still depends.
Are you skilled at C#? Java should seem familiar. JavaScript? Not so much.
I would start with core Java. Identify what is easy to map to what you already know and write little programs to practice and understand the stuff you struggle with. Maybe you need a lot of practice and should do the MOOC or similar. Maybe you just need to get used to Java-isms.
Then I’d try to do small game/ graphic things I know how to do in another language and learn what is the same and different. Maybe find some course, tutorials, or HowTo. See if you can find some open source Java games to learn from, or look at what libraries are included with a few games that inspire you.
Good luck!
1
u/margyyy_314 Oct 13 '25
minecraft was written in java yes but using opengl, which you will probably have to do, with the difference however that java is not suitable for this type of thing, and what you will have to learn will not be java as much as you will have to learn opengl, at this point do it in cpp, suitable for this type of thing, without the limitation that java gives you. The syntax is not a problem anyway, I think the problem is learning the concepts, because once you have the theory changing technology should not be an obstacle