uploading games

my friend and i uploaded a game to the internet at the following URL:

http://www.geocities.com/chrisbert91/

we are by no means done with the game. we are far off.

we want input on the game and how we can make it better. we are also having a problem. the images are rather slow to load and we need a way to load them at the beginning. also, our background, which we hav taken off for teh time being, wouldnt load. maybe it was because it was 400 kb?

plz post suggestions for making the game better, how to load images at the start, and what could possibly be wrong with the background.

[617 byte] By [stephensk8sa] at [2007-11-27 4:54:56]
# 1
just so everybody knows... i know that the collision method sucks. if the bullet hits ur rectangle, u die. keep that in mind so u dont die evry time u play.
stephensk8sa at 2007-7-12 10:09:45 > top of Java-index,Other Topics,Java Game Development...
# 2
USE THIS LINK: http://www.freespaces.com/topgun/index.html
stephensk8sa at 2007-7-12 10:09:45 > top of Java-index,Other Topics,Java Game Development...
# 3

Are you putting everything into a jar file or having it load the images over the net with a URL? I can't really tell why the background isn't working. Have to post code to guess what it could be. Image size shouldn't matter, I've loaded large images into it before.

I killed all of the planes, but nothing happened after that!! The plane seemed really big in comparison with the other planes.

robtafta at 2007-7-12 10:09:45 > top of Java-index,Other Topics,Java Game Development...
# 4

>Are you putting everything into a jar file or having it load the images >over the net with a URL?

the second one. wat does putting the stuff in a jar file do, and is it complicated to do that?

>I killed all of the planes, but nothing happened after that!!

ya. haha. as i said, we are far from done with the game. we still hav to put in more than one level. :)

>The plane seemed really big in comparison with the other planes.

we'll make our plane smaller. do u suggest making the other planes bigger too? were not sure if we should do that or not.

thank you a lot for your input.

stephensk8sa at 2007-7-12 10:09:45 > top of Java-index,Other Topics,Java Game Development...
# 5
i tried uploading a jar file. i dont think i did it right. or i didnt create it right. plz help. i am using freespaces.com if that helps
stephensk8sa at 2007-7-12 10:09:45 > top of Java-index,Other Topics,Java Game Development...
# 6

I don't know anything about freespaces.com.

There are some tricks to getting your images to load from a jar. A jar is a zip file, and you put all of your classes and images into it. To access the images in the jar from your application, you have to call something like:

Toolkit.getDefaultToolkit().getImage(getClass().getResource("resourcepath_in_jar/image.jpg"));

I don't think I have ever tried loading an applet into a jar, so I'm not sure if the html syntax just need to point to the jar or if there is more that needs to be done.

robtafta at 2007-7-12 10:09:45 > top of Java-index,Other Topics,Java Game Development...