Re: [Java] Getting Started with games & build your first game with LWJGL 3
If you want to start developing games then I recommend reading this book / tutorial.
You should mention that it is good for developing
small non-windows games.
I personally develop game engines. It would be and
is a really bad practice to write 3D games in Java.
Memory Allocation is important for games, you can't handle that by yourself when you're using Java and that leads already to a bad way of producing games. People saying, "I use Java so I don't have to worry about the memory allocation/dellocation", don't listen - If so, you failed. Also that Java is or could be faster than C++ is wrong... A high language can't beat a low level language - Only if you set the C/C++-compiler flags false/wrong or messed up the code so heavy that the compiler can't optimize right. You want to be a successful game developer? Sit down and learn
C++.
Now you're asking maybe why C# is used then by some people... Well... It's the huge difference between the Common Language Runtime (CLR) and the Java Virtual Machine (JVM). Most developers and users here will already reckon that the CLR is faster than the JVM. The CLR supports different languages, different DLL versions and much more. Java doesn't support the interaction between value and reference types what shows us already its not suited for game development.
Let's talk about OpenGL... It's a nice API but "The Industry Standard for High Performance Graphics" doesn't match the reality
when we compare it against DirectX3D on Windows/Xbox. DirectX gives you access to the low level (Hardware), which is awesome, really! Love it! You can handle almost everything. Windows has the majority of the game market. DirectX comes always with better tools and most features are just ported to OpenGL after a few months. Also its easier to port PC games to the Xbox. DirectX3D on a PC
would also win against PS4s Graphic API (GNM) - Just watch the rendering detail distance... But it's a console we don't compare them, sure in the future! Xbox One and Ps4 are again another topic, different consoles (Ps4 clearly wins). For
small games OpenGL is fine, but when it comes to huge games, with high detailed graphics and great performance pick DirectX11/12 tools (using the Intel C++ compiler if you got cash).
Its important to have the right knowledge and skill for game development.