Game creation in JAVA-- API


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 5 of 5

Thread: Game creation in JAVA-- API

Hybrid View

  1. #1
    Join Date
    Sep 2005
    Location
    TX
    Posts
    23

    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!

  2. #2
    Join Date
    Nov 2004
    Location
    Norway
    Posts
    1,560
    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

  3. #3
    Join Date
    Sep 2005
    Location
    istanbul / Turkey
    Posts
    133
    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.

  4. #4
    Join Date
    Sep 2005
    Location
    TX
    Posts
    23

    Lightbulb

    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.

  5. #5
    Join Date
    Nov 2004
    Location
    Norway
    Posts
    1,560
    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

  1. Help Needed Creating A Java Game!
    By Arkantos in forum Java
    Replies: 4
    Last Post: 04-11-2005, 05:03 AM
  2. DevX does seem one sideded
    By Rob Abbe in forum Talk to the Editors
    Replies: 44
    Last Post: 01-13-2003, 02:57 PM
  3. looking for parser API for java
    By sulh in forum XML
    Replies: 1
    Last Post: 11-15-2000, 06:38 AM
  4. API VB and JAVA
    By Mr. Spock in forum VB Classic
    Replies: 0
    Last Post: 08-24-2000, 12:34 PM
  5. API VB and JAVA
    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
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center