r/GameDevelopment • u/SealLionGar • Jul 29 '20
Anyone here? I would like some help with Java?
/r/AskGameDevsAnything/comments/hzukac/anyone_here_i_would_like_some_help_with_java/1
u/ia97lies Jul 29 '20
I do my games with Java jMonkeyEngine, Zay-Es (one of the best ECS implementation I know), dyn4j or bullet, libgdx-ai, Lemur, ... so many useful libs. I never had performance issues with java even with 20+ systems and up to 10‘000 entities I can have 1500+ frames per sec. It was always the graphic card which limited it much more as soon I start with fancy dynamic stuff like shadows. And I have an old PC actually. So it’s perfectly possible to make games with Java and have a selfexecuting exe. Even a steam integration is possible easily. But ofc C++ C# is also an option, I don’t care too much about languages. Furthermore C# is also in a VM.
1
u/SealLionGar Jul 30 '20
So your games run on Windows, Mac and more? Explain.
1
u/ia97lies Jul 30 '20
My games run on Windows, Mac and Linux. With some small effort they would even run on Android and with a bit more also on a iPhone. With JavaFx you can make selfexecutables and I upload that on steam as for game testing this is very handy.
1
u/SealLionGar Jul 30 '20
May I play one of your games? I like play testing.
1
u/ia97lies Jul 30 '20
You can playtest my top down multiplayer game battleground but alone it is probably not fun. I stopped that to be honest as it is very hard to sell a multiplayer game. just how can i sent you the steam key ?
1
1
1
u/hillman_avenger Jul 29 '20
Most people's negative opinion of Java comes from the mid-90's when it was all slow Applets and anyone could make an online game (and thus a lot of them were slow and looked crap). Java nowadays is more than able to make any game. These days it's more about engine/framework/library choice, and each language has lots to choose from. However, if you're new to gamedev (or programming in general) then you might want to start with a more GUI-based engine. There are loads: Godot, Stride/Xenko, Cryengine, Unity, Unreal etc... all with their pros and cons.
1
u/plastic_machinist Jul 29 '20
From what I've heard, Minecraft was converted over mainly just as part of the transition from essentially a single-person project to something that could more easily be extended / maintained at Microsoft.
If you want to make games with Java, that's definitely something you can do, but if you're only using Java with the intention of converting it over to C++ later, you should just start with C++ from the get-go. Personally, I wouldn't *recommend* using Java, as I personally dislike it, and there are objectively fewer resources out there for doing gamedev with it. "Fewer" doesn't mean "none" though, so if you want to work with Java, work with Java.
The shortest path to being an indie dev is likely neither Java nor C++ though- you probably want to work in C#, which could mean Unity, Godot, or a number of other options. It's also (imho) a much nicer language than Java, and a lot easier to use than C++. Ultimately though, you want to just choose a language you feel comfortable using / learning, and that can work with your desired platforms.