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.

Results 1 to 6 of 6

Thread: Where To Start? : Java Game Programming

  1. #1
    Junior Member
    Join Date
    Jan 2014
    Posts
    22
    My Mood
    Happy
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Where To Start? : Java Game Programming

    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 .


  2. #2
    Senior Member PhHein's Avatar
    Join Date
    Mar 2013
    Location
    Germany
    Posts
    609
    My Mood
    Sleepy
    Thanks
    10
    Thanked 93 Times in 86 Posts

    Default Re: Where To Start? : Java Game Programming

    Hi and welcome. How much Java do you know? What areas do you already know?

  3. #3
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,517
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: Where To Start? : Java Game Programming

    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.

  4. #4
    Junior Member
    Join Date
    Jan 2014
    Posts
    22
    My Mood
    Happy
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Where To Start? : Java Game Programming

    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.

  5. #5
    Senior Member
    Join Date
    Jul 2013
    Location
    Europe
    Posts
    666
    Thanks
    0
    Thanked 121 Times in 105 Posts

    Default Re: Where To Start? : Java Game Programming

    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.

  6. #6
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: Where To Start? : Java Game Programming

    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!

Similar Threads

  1. java game programming problem 1
    By swikot in forum What's Wrong With My Code?
    Replies: 4
    Last Post: January 1st, 2014, 11:27 AM
  2. question - java game programming
    By haimdorlevi in forum Java Theory & Questions
    Replies: 1
    Last Post: April 30th, 2013, 03:44 AM
  3. android programming vs game programming using java
    By vgoel38 in forum Android Development
    Replies: 4
    Last Post: September 8th, 2012, 05:48 PM
  4. Java Programming - Dice Game Help!
    By blackvelvet in forum What's Wrong With My Code?
    Replies: 3
    Last Post: March 19th, 2012, 11:47 AM
  5. Robo Code - The funny Java Programming Game
    By Freaky Chris in forum The Cafe
    Replies: 20
    Last Post: October 8th, 2009, 03:42 PM

Tags for this Thread