Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hey Wichery Studios, What is the scripting work? what do you write in?

I'm about 99% complete on my Alpha versions of my 2D "Fly Squirrel Fly" .jar Java game! I just need one last part, publishing a .jar file correctly to itch.io!! I am coding my game in Java on Eclipse (Neon) on a windows machine and using Photoshop for the artwork. I have one main catch...

As I only posted it as a "downloadable .jar". (which has all kinds of security warnings)... I want to post it to play on the website itself. Can anyone help?! that is my main goal from this Jam. But I feel the answer may lie more in reading more about Java / Eclipse.

Basically,..I am at a snag with one part of the "Draft" page, it won't display my game (but I can run it locally as a .jar).

I think it has to do with this: (has anyone had to set "entry point of game" in Java?)

JAR class name — Enter entry point of game, eg. io.itch.MyGame

I assume my game should simply run in the "Draft" mode if I have the entry point right? (Support confirmed this).
So, I don't feel this game is complete at all, even tho I published it :(, so am joining this Jam. and reading more online about this ;) Thanks for any assist! if you can help, I will totally draw some 8 Bit animations for you (like in my game) lol- Zero_Fade

Java applets aren't supported anymore in Chrome, and I think other browsers are following suit (NPAPI based plugins in general are being phased out.)

It looks like Itch does support it, though. Just keep in mind that the future of in-browser support for Java applets is sketchy, unless Oracle makes a native interpreter/whatever you call it for Java.

(Actually, if you are using Chrome that may explain the game not running, on my Chromebook at least it just shows nothing for the Java games on Itch.)

Thanks for the feedback, it's weird they added .jar to have it phased out, but I think it's fairly common on Android also, so I may move to making java apps for android in the future. I have that android studio currently also, hmmm. OKay, will keep this in mind, on the current page, I had a download, I've had 3 people download it, and I downloaded the .jar in Chrome...in Chrome now and I see "download now", but I see my browser is like "don't run this unless you really trust it" for the .jar

It gives that warning for .exes too, pretty much any non-web game on here. Most people don't mind.

I know it is possible to run a jar file with an exe launcher of some kind (similar to Minecraft), but I don't know how complicated that is to implement.

I'll check the game out when it isn't an hour after midnight :P

Thanks TerraCottaFrog, yea I need to maybe get some approved "code signing" happening.
I have about 7 levels, and a boss of sorts, so I hope it works out :D thanks.
I have a few friends playing this .jar and having fun so far, it is challenging (that's why I made an more in depth tutorial)

Yes, itch support said this about launching .jar in browser on submission, so sounds like this is my monthly goal for finishing this to my expectations :)

"The entry point is the package name of the class you compiled into your jar. Once you get it correct it should work on the draft page. If you're using an existing game engine then they might have a tutorial about how you would embed your game into a browser, and they'll describe what your entry point is."