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

Thread: Java game with window builder

  1. #1
    Junior Member
    Join Date
    Dec 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Java game with window builder

    Hi all,
    I'm wondering if anyone could help me out here. I'm not very good at programming but I have some experience with it. I've search high and low up Google for tutorials but I can't quite understand how to get started with this. I'm basically wanting to create a simple game, where a character moves around a small grid interface.
    Untitled.jpg
    The red dot (character) would be only able to move on 1 button click to a random grid box around him including diagonally. I'm using Eclipse Window builder.
    So please, give me some insight on how I could get going with this


  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,529
    My Mood
    Hungover
    Thanks
    144
    Thanked 647 Times in 552 Posts

    Default Re: Java game with window builder

    Step 1: Stop using a gui builder. You can't make a game that way.
    Step 2: Familiarize yourself with the basics of Swing: Trail: Creating a GUI With JFC/Swing (The Java™ Tutorials)
    Step 3: Familiarize yourself with the basics of custom painting: Lesson: Performing Custom Painting (The Java™ Tutorials > Creating a GUI With JFC/Swing)
    Step 4: Start extremely small. Display a grid first, then worry about the red dot. Then worry about other stuff like user input and whatnot.
    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!

  3. #3
    Junior Member
    Join Date
    Dec 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Java game with window builder

    Thanks for the tip, i'll be sure to check out those links.

Similar Threads

  1. Applet viewer window is diplaying in fron of the current window every time
    By jsreddy99 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: January 24th, 2013, 07:16 AM
  2. Replies: 2
    Last Post: August 27th, 2012, 10:19 PM
  3. Replies: 1
    Last Post: December 17th, 2011, 03:32 AM
  4. Options window for game
    By Herah in forum What's Wrong With My Code?
    Replies: 3
    Last Post: December 1st, 2011, 07:34 AM
  5. How do I change Look and Feel in Window Builder?
    By Zorobay in forum AWT / Java Swing
    Replies: 1
    Last Post: May 3rd, 2011, 10:08 PM

Tags for this Thread