First Java Game

Reply

Join Date: Jul 2008
Posts: 86
Reputation: jhonnyboy is an unknown quantity at this point 
Solved Threads: 0
jhonnyboy jhonnyboy is offline Offline
Junior Poster in Training

First Java Game

 
0
  #1
Feb 13th, 2009
hey guys im pretty new to java but im very eager to learn and want to make my first game

I want a simple RPG game, but also want to make a GUI.

I am using Netbeans as my IDE, do i need anything else to make a GUI?

I just want a simple 2d game no big deal. It's my first game after all. Just looking for you guys to point me in the right direction since i don't know were to start. I know what i want the game to be like, i can code it, but i guess i'm just needing some help with the GUI. Is this difficult?

THanks!
Reply With Quote Quick reply to this message  
Join Date: Feb 2009
Posts: 10
Reputation: JMChurch25 is an unknown quantity at this point 
Solved Threads: 0
JMChurch25's Avatar
JMChurch25 JMChurch25 is offline Offline
Newbie Poster

Re: First Java Game

 
0
  #2
Feb 14th, 2009
No, not really. GUIs are actually pretty easy and enjoyable once you know the basic. They are some of the best parts of Java I think. Since you are using Netbeans as your IDE (I'm assuming you have some program that lets you program (BlueJ, Eclipse, etc. ) ), so here:
http://www.netbeans.org/kb/trails/matisse.html
This website should help point in the right direction a little bit. Happy programming!
That is correct according to JMChurch!!
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 1,175
Reputation: stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light 
Solved Threads: 125
Featured Poster
stephen84s's Avatar
stephen84s stephen84s is offline Offline
Veteran Poster

Re: First Java Game

 
0
  #3
Feb 14th, 2009
I want a simple RPG game, but also want to make a GUI.

If you want to make a game, first of all hopefully your basics in Java (and 3D/2D Geometry) are thorough, Next you might want to see the "Starting Java" Sticky. ~s.o.s~ has mentioned the JMonkey Engine for making games in Java.

As Far as making GUIs is concerned almost most Java IDE's now-a-days ship in with a form designer (Eclipse, NetBeans, IntelliJ), still its best to design your first few forms by hand. For AWT [1,2] and this for Swing(which is more richer that AWT) should help you get started with making your own GUIs in Java in whichever one of the two toolkits you wish to use.

Then to make GUIs theres also the SWT library which can be found here. However I wouldn't recommend on using it since it doesn't ship along with the JDK unlike AWT and Swing.
Last edited by stephen84s; Feb 14th, 2009 at 4:33 am.
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."

"How to ask questions the smart way ?"
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 706
Reputation: stultuske is a jewel in the rough stultuske is a jewel in the rough stultuske is a jewel in the rough 
Solved Threads: 84
stultuske's Avatar
stultuske stultuske is offline Offline
Master Poster

Re: First Java Game

 
0
  #4
Feb 15th, 2009
Originally Posted by jhonnyboy View Post
I am using Netbeans as my IDE, do i need anything else to make a GUI?
NetBeans makes it quite easy to make Swing GUI's, but I would recommend you to start without NetBeans, if you don't have the basic understanding of the working yet.

NetBeans will generate a bunch of code for you, so it's "easy" to learn, but you won't learn anything about how it actually works.

the only things you need to develop a Swing application, is notepad, some understanding about how a Swing GUI is build, but you can find millions of examples on the world wide web, and, off course, Java installed on your machine
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC