Results 1 to 6 of 6
- 06-21-2010, 09:10 AM #1
Member
- Join Date
- Jun 2010
- Posts
- 86
- Rep Power
- 0
programming a game - how should I begin
I'm not exactly new to Java but I'm venturing into new Java territory, and so I'm hoping to get some expert advice on how to start my project off on the right foot (if this is considered the wrong section to post this, I apologize and please move it).
I plan to make an online game. I'm going to use swing, GUIs, and a lot of graphics. It's going to be a simple 2D game in which you're a guy in a maze and you have to get through it in a timely manner. I would like some advice on how to begin building the infrastructure for this.
More specifically, I have the following question:
1) I'm torn between making it into a JApplet or a downloadable application that runs automatically once downloaded (I forget what this is called but I've seen it done). Which would you say is best for my purposes (i.e. programming a 2D game in swing)?
2) How much effort should I invest into concurrency? Could I get by making the whole game run in a single thread... or would that be 'bad'?
3) Should I work within NetBeans or would it be better to work from scratch in some kind of text editor like Notepad? I would think NetBeans is better for programming any kind of application, but I'm just wondering if it's suited to my particular purposes (game programming, 2D graphics, being online, etc.).
Also, it might be important to mention that if I can develop this far enough, I might incorporate the ability for the player to save his progress. In other words, I might want to manage a database or file system on the server that stores players' accounts and progress, etc. This would require some kind of client/server interface, and so my program would have to be compatible with this (I don't know if that makes a difference to the above questions but I thought I'd throw it out there just in case).
Thanks very much for any forthcoming advice.
Gibran
- 06-21-2010, 01:07 PM #2
Math problems? Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x]
The Ubiquitous Newbie Tips
- 06-21-2010, 04:39 PM #3
Member
- Join Date
- Jun 2010
- Posts
- 86
- Rep Power
- 0
Yes, you caught me in a crosspost. Is that considered bad edicate??? I figured I was just trying to maximize the number of responses I got. I didn't think I was doing any harm (I can see people getting annoyed at duplicate posts in the same forum, but across different and presumably unrelated forums, I didn't think anyone would care - in fact, I thought it would only help others searching for similar information).
If this is bad, I sincerely apologize and won't do it again.
- 06-21-2010, 04:41 PM #4
Senior Member
- Join Date
- May 2010
- Posts
- 436
- Rep Power
- 4
JavaRanch states the issue best, I believe. Please have a look here: Be Forthright When Cross-Posting To Other Sites
- 06-21-2010, 04:42 PM #5
Just imagine I had written a lengthy reply here and later found out that you got the same reply in the Sun forums. I'd be really pissed and angry about the wasted time.
Math problems? Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x]
The Ubiquitous Newbie Tips
- 06-21-2010, 05:54 PM #6
Member
- Join Date
- Jun 2010
- Posts
- 86
- Rep Power
- 0
Thanks curmudgeon, that helps - and thanks for being understanding.
Okay, I can appreciate that. No harm intended.
Originally Posted by PhHein
I will be sure to be up front about my crossposting in the future (I'm glad there is a way of doing it while maintaining neticate :)).
...Oh, and if anyone's still interested in answering my original questions, I'm all ears.
Similar Threads
-
Programming a Board Game
By makanti in forum New To JavaReplies: 7Last Post: 03-10-2009, 02:32 AM -
The words *game* in java programming :confused:
By ibmzz in forum Advanced JavaReplies: 1Last Post: 01-23-2008, 09:23 AM -
Programming a Game?
By gt123 in forum New To JavaReplies: 4Last Post: 01-01-2008, 12:41 PM -
java game programming
By gammaman in forum New To JavaReplies: 1Last Post: 12-25-2007, 01:01 AM -
Which book is good for 3D+2D game programming with java
By romina in forum Java 2DReplies: 1Last Post: 08-07-2007, 05:19 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks