Results 1 to 9 of 9
Like Tree1Likes
  • 1 Post By mitchbutter1210

Thread: Starting java game programming

  1. #1
    scottsweb is offline Member
    Join Date
    May 2012
    Posts
    6
    Rep Power
    0

    Default Starting java game programming

    What is the best way to learn java game programming?
    Is OpenGL what i need to learn?
    What is Slick? do i need to know this?
    Could anyone please recommend any books / tutorials?
    Any help would be appreciated, Thankss.
    Last edited by scottsweb; 05-24-2012 at 02:40 PM.

  2. #2
    KevinWorkman's Avatar
    KevinWorkman is online now Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,923
    Rep Power
    8

    Default Re: Starting java game programming

    What is your Java experience so far?

    If your answer is zero, then start from the basics. Work through the basic tutorials, modifying any examples you come across to be a little more game-like.

    When you get to Swing, get a basic display going. Draw a ball bouncing around the screen. Add a key listener to control the ball. Go from there. Start small.

    Don't worry about OpenGL or other libraries until you've figured out the basics.
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    scottsweb is offline Member
    Join Date
    May 2012
    Posts
    6
    Rep Power
    0

    Default Re: Starting java game programming

    Thanks for the reply :)
    I know a fair bit of java, and basic swing. So learn swing and get confident in that and then would i start to learn openGL?

  4. #4
    KevinWorkman's Avatar
    KevinWorkman is online now Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,923
    Rep Power
    8

    Default Re: Starting java game programming

    Quote Originally Posted by scottsweb View Post
    Thanks for the reply :)
    I know a fair bit of java, and basic swing. So learn swing and get confident in that and then would i start to learn openGL?
    I would use Swing and Java2D to get a basic game under your belt before you try tackling OpenGL or libraries. Learn one thing at a time instead of everything at once. Use a Swing Timer and some basic painting code to write a game of pong or something, then go from there.
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  5. #5
    scottsweb is offline Member
    Join Date
    May 2012
    Posts
    6
    Rep Power
    0

    Default Re: Starting java game programming

    Any books or tutorials you would recommend?

  6. #6
    KevinWorkman's Avatar
    KevinWorkman is online now Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,923
    Rep Power
    8

    Default Re: Starting java game programming

    Quote Originally Posted by scottsweb View Post
    Any books or tutorials you would recommend?
    I'm working on it, haha, see my signature. But in the meantime:

    Java tutorials: The Java™ Tutorials
    Swing tutorials: Trail: Creating a GUI With JFC/Swing (The Java™ Tutorials)
    Custom painting: Lesson: Performing Custom Painting (The Java™ Tutorials > Creating a GUI With JFC/Swing)
    Swing Timers: How to Use Swing Timers (The Java™ Tutorials > Creating a GUI With JFC/Swing > Using Other Swing Features)
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  7. #7
    scottsweb is offline Member
    Join Date
    May 2012
    Posts
    6
    Rep Power
    0

    Default Re: Starting java game programming

    haha looks good :)
    cheers!

  8. #8
    quad64bit's Avatar
    quad64bit is offline Moderator
    Join Date
    Jul 2009
    Location
    VA
    Posts
    1,323
    Rep Power
    7

    Default Re: Starting java game programming

    Once you're comfortable with the concepts in java2, take a look at the LWJGL. It's what minecraft was made with, and it includes OpenGL, OpenAL, and OpenCL. I feel it is a better game platform than JOGL (another openGL binding for java) due to the included sound support and it is designed as more of a game library instead of a simple binding.

  9. #9
    Join Date
    Mar 2012
    Posts
    10
    Rep Power
    0

    Default Re: Starting java game programming

    Quote Originally Posted by quad64bit View Post
    Once you're comfortable with the concepts in java2, take a look at the LWJGL. It's what minecraft was made with, and it includes OpenGL, OpenAL, and OpenCL. I feel it is a better game platform than JOGL (another openGL binding for java) due to the included sound support and it is designed as more of a game library instead of a simple binding.
    Adding on to what you said, if you don't really know where to start with the LWJGL, watch these tutorials. They really helped me. Even though he only has three up so far he said in the first one it will eventually become a game.

    LINK: LWJGL For Beginners - YouTube
    Fubarable likes this.

Similar Threads

  1. Java Game Programming
    By thg99 in forum New To Java
    Replies: 2
    Last Post: 04-28-2012, 09:33 PM
  2. Starting out on a 2D game
    By iamsothecoolest in forum Java 2D
    Replies: 3
    Last Post: 05-04-2011, 06:43 PM
  3. starting java programming on ubuntu linux
    By hmjsaumya in forum New To Java
    Replies: 1
    Last Post: 01-23-2010, 06:28 AM
  4. java game programming
    By gammaman in forum New To Java
    Replies: 1
    Last Post: 12-25-2007, 01:01 AM
  5. Replies: 1
    Last Post: 08-07-2007, 05:19 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •