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 9 of 9

Thread: 2D Game Programming

  1. #1
    Member
    Join Date
    Mar 2012
    Posts
    39
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default 2D Game Programming

    So I usually used like a basic engine (What I see from tutorials) and will just reuse it to make a game. I wanna know how to make 2D Java Games now on my own. I know how to build the window example
    JFrame frame = new JFrame("Test");
    frame.setResizable(false);
    frame.setLocationRelativeTo(null);
    and so on
    I wanna know how to make it show graphics on to that window.
    I have heard of buffer strategy, but know how to use it.
    Right now I will be just working on a simple gui for what I wanna put in my game (yeah I know how to split a picture up).
    If you could give me something I could read which doesn't use very much code I would be glad and please all videos are welcome.


  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,335
    Thanks
    181
    Thanked 830 Times in 773 Posts
    Blog Entries
    5

    Default Re: 2D Game Programming


  3. #3
    Member
    Join Date
    Mar 2012
    Posts
    39
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: 2D Game Programming

    Thanks!
    I was just looking at these.

  4. #4
    Member
    Join Date
    Mar 2012
    Posts
    39
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: 2D Game Programming

    Can anyone give me some tutorials on example games and other ways to create a window. Cause I saw another tutorial basically making a complicated way of making a window.

  5. #5
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,462
    My Mood
    Hungover
    Thanks
    144
    Thanked 639 Times in 547 Posts
    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!

  6. #6
    Member
    Join Date
    Mar 2012
    Posts
    39
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: 2D Game Programming

    Thanks again!
    I have some time to look these over.

  7. #7
    Junior Member
    Join Date
    Jan 2012
    Posts
    10
    Thanks
    1
    Thanked 3 Times in 2 Posts

    Default Re: 2D Game Programming

    If you have a good knowledge of Java, then why don't you try my tutorial.

    http://dl.dropbox.com/u/36677282/Jav...el%20Curry.pdf

  8. #8
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,462
    My Mood
    Hungover
    Thanks
    144
    Thanked 639 Times in 547 Posts

    Default Re: 2D Game Programming

    Quote Originally Posted by worsewicked View Post
    If you have a good knowledge of Java, then why don't you try my tutorial.

    http://dl.dropbox.com/u/36677282/Jav...el%20Curry.pdf
    I believe the OP is still trying to wrap his head around the basics. I wouldn't suggest he dive into the world of gaming libraries just yet.
    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!

  9. #9
    Junior Member lunix's Avatar
    Join Date
    Apr 2012
    Location
    England
    Posts
    6
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default Re: 2D Game Programming

    30 or so video tutorials on animation, threads, input etc

    Java Game Development Tutorials - YouTube
    Feels good man

Similar Threads

  1. Game Programming Question?
    By toofast88 in forum Android Development
    Replies: 1
    Last Post: March 21st, 2012, 07:34 AM
  2. 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
  3. Programming a Card Game (noob questions)
    By Taliesin in forum Java Theory & Questions
    Replies: 17
    Last Post: August 31st, 2011, 12:49 PM
  4. Programming AI for simple game?
    By YouGoLast in forum Java Theory & Questions
    Replies: 2
    Last Post: May 28th, 2011, 08:53 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