-
Game creation in JAVA-- API
Hi, I was wondering if anyone knew a good Java API to use for creating games. Since I have almost no experience concerning this type of coding I would of course start out creating very simple games.
Hopefully games comparable to pong, pac man, snake, etc.
I thought maybe the 3D API by Sun was good. However I seem to recall reading that is has merged with OpenGL. I know that OpenGL is powerful but also accompanied by a somewhat steep learning curve. Can anyone confirm this? Make some recommendations, point me in the right direction?
Cheers!
-
If you are new to this kind of programming I would not recommend that you start off
with 3D. The games you mention are all 2D games and you can create those using
nothing but the raw java language. Core subjects for this are the
Component class' paint/update methods, double buffering and threaded programming.
Last edited by sjalle; 10-03-2005 at 09:33 AM.
eschew obfuscation
-
i saw many advices saying start with 2D for learning basics.
they say there are not much differences in game-logic between 2D and 3D.
opengl is a simple graphics engine. ( compare to directx )
3d computer graphics concept require study.
but if you use high level libraries ( such java 3d )
there is no need to know about graphic engine details.
all scenes made using a 3D program ...
not coded by hand, such in raw opengl programming.
-
Ah I see. Yeah, I did come to that realization much later after making my post. I definitely don't plan on creating Halo on my first try so I'll hold off on OpenGl and the like.
But thanks for the advice as to double buffering, threads, etc.
If I do make some 2D game I'll share it later down the road.
-
Here is a "game" I made, it's a forest of deers, hunters and trees,
You can set various parameters (repoduction rate, starvation limit for a hunter,
number of subjects etc.) and the goal is to make the forest live (no extinction
and no overpopulation) for at least 100 "ticks". The source can be
downloaded from the
same URL:
http://home.no.net/sjalle/forestPage.html
Last edited by sjalle; 10-04-2005 at 11:25 AM.
eschew obfuscation
Similar Threads
-
By Arkantos in forum Java
Replies: 4
Last Post: 04-11-2005, 05:03 AM
-
By Rob Abbe in forum Talk to the Editors
Replies: 44
Last Post: 01-13-2003, 02:57 PM
-
Replies: 1
Last Post: 11-15-2000, 06:38 AM
-
By Mr. Spock in forum VB Classic
Replies: 0
Last Post: 08-24-2000, 12:34 PM
-
By Mr. Spock in forum VB Classic
Replies: 0
Last Post: 08-24-2000, 12:34 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks