Hello all. I was just wondering if any of you have recommendations on where to start learning how to program simple games in java? I was looking around and I couldn't find much that I liked. Help is greatly appreciated .
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
Hello all. I was just wondering if any of you have recommendations on where to start learning how to program simple games in java? I was looking around and I couldn't find much that I liked. Help is greatly appreciated .
Hi and welcome. How much Java do you know? What areas do you already know?
What simple games? Graphical, console, 2D (of course), etc? Give us an idea what you had in mind. There are several Java 2D game tutorials on the Internet (try searching), and whether you like them or not isn't relevant. What's important is that you learn something from them.
I know pretty much the basics of java. Variables, statements, loops, frames, java classes like util awt and swing, and I just wanted to get to the next level and make some games with multiple classes that have simple 2D graphics. Something I can build on.
My advice: search for libGDX which is a java library for graphics, sound and input. Its build on the light weight java gaming library (lwjgl) which itself is a binding for OpenGL, OpenAL and OpenCL + some input classes.
If you are a true beginner I would not suggest to use the lwjgl as it is, since you would need to first learn how to use OpenGL, OpenAL, etc. LibGDX does all of the low-level stuff for you and gives you a very basic framework; it has incredible performance and efficiency compared to other approaches and its compatible with every platform and even smartphones.
IMHO, libGDX can be a bit much for an absolute beginner. I would recommend doing a couple games using basic Swing before jumping into libGDX and OpenGL. I've written tutorials that take you from basic Java to writing a simple game in Swing, check out the link in my signature to Static Void Games. Of course, this is all up to you, so maybe try both approaches and see which one makes more sense to you!
Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!