Skip to main content
GameDev.net gamedev.net
🔒 Locked

[java] Misc. Java topic...

Started by Crosseyed Dec 30, 2002 at 2:59 AM 1 replies 750+ views
Original Post
Crosseyed
Crosseyed
Hi, Ive recently completed a ''Visual Programming'' class at my university where I learned VB and Java. Java seemed like a pretty cool language so i decided to take it a bit deeper then the boring ''prove you know how to use the widgets'' programs required in class, so i began to search the net for java programming resources. I found the old Black Book of Java Game programming availible for free on a few websites so i downloaded it along with a few other java tutorials. One thing i noticed though was a difficulty in finding comprehensive Java game programming websites. It seemed strange because there are soo many dinky little java games out there that there has to be some sort of community helping people along the way. So basicly does anyone know some good links to Java game development communities as this section of the forum seems pretty slow. This brings me to another thought. I figured there may not be as many resources because when you get down to it, handling 2d tile maps, or displaying animated sprites is generaly the same in all languages as far as the algoritms involved. So here is another question, how much game can Java handle? Has anyone made a 2d tile game and tested the boundaries of the Virtual Machine? Basicly how complex did you make your java game before you realized that loading times or memory limits have been hit. I am thinking of creating a overhead 2d wildlife simulation type game, but wondering if it is even feasable, so far i got little images of lions and zebras bouncing around on the screen, but what about when i want to implement the enviornment around them, will Java be able to handle an enviornment of any decent magnitude? basicly... 1) Anyone know any good Java game programming communities? 2) How fancy have you been able to make your Java games while still keeping them practical for play on the web?
HenryApe
HenryApe
quote:
1) Anyone know any good Java game programming communities?

Well, there is Sun's javagaming.org. The developer connection at java.sun.com also has some game programming forum.

The second question is really to vague for me to comment on. A tile-based game can be written in pure Java (especially now that JDK1.4 supports hardware acceleration for 2D images). Exactely how many sprites you can crank out per frame should depend mostly on your processor and graphics card.

[edited by - HenryAPe on December 30, 2002 6:19:59 AM]
nonnus29
nonnus29
I haven''t been to the game programming forums on the Sun site so I can''t comment on those, but this is about the most active Java game dev forum. Javagaming.org is pretty slow going, but there is ALOT of good information archived over there. I learned everything I know about applet games from "the black book of java game programming"

In my 2d sidescroller applet I tried to put alot of "stuff" in it. When you throw a grenade there are about 40 particle sprites generated, although it doesn''t look like that many. During gameplay there are about 100 objects/sprites active in the game world (only upto about 45 would be drawn in a scene). I iterated thru each object every frame. Each object has a test to draw itself only if its currently in the "view". I locked the framerate at 50 fps and I could have added even more sprites/processing.

You can see it at: www.geocities.com/nonnus29/unionjack/test.htm

I''m going to do a raycaster in Java someday, then I probably won''t make anymore applets.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.