Forums Register Login

So I Got This Game, See...

+Pie Number of slices to send: Send
I made a processing applet game with the program eclipse. I would greatly appreciate it if anyone had a suggestion for turning it from a large folder into a single file that I could upload to free game hosting sites and the like.
+Pie Number of slices to send: Send
Are you familiar with jar files? They let you package not just class files, but also other resources needed by the code (like images, sounds, other files) all in one file.
+Pie Number of slices to send: Send
I exported it into a .jar file, but when I tried to upload it to Kongregate, it said it was an invalid file type.
+Pie Number of slices to send: Send
I'm not sure what Kongregate is or does, but jar files are definitely the way to distribute applets (or Java desktop apps).

If that's a hosting companies then I think it's none of their business what kind of files you upload, particularly when they're such common formats as jar. Sounds like something is misconfigured.
+Pie Number of slices to send: Send
I see, I think this is less a java question than a game development question. Are there any good programs to run jar files with? I can't run the jar I made.
+Pie Number of slices to send: Send
Does your jar file have a manifest with a proper "Main-Class" entry?

This page has (and links to) information about making a jar file executable: http://faq.javaranch.com/java/JarFiles
+Pie Number of slices to send: Send
thanks!
+Pie Number of slices to send: Send
 

Noah Faust wrote:I exported it into a .jar file, but when I tried to upload it to Kongregate, it said it was an invalid file type.



From Kongregate's FAQ:

What format of games can I upload?

We support Flash (swf) files as well as Shockwave. ...



It looks like that particular site doesn't support uploading Applet-based games.
+Pie Number of slices to send: Send
Thank you for the link, I was trying to find more information but couldn't seem to find a details page.
I'm THIS CLOSE to ruling the world! Right after reading this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1369 times.
Similar Threads
Eclipse applet vs web applet network performance
Uploading an entire folder using Java
I think I am going to die....
Urgent !
optional package with native installer
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 05:16:16.