r/javahelp • u/fadisari42 • Dec 08 '25
I HAVE A UNI PROJECT
Hey , So i have this project for uni , where the professor wants us to build a simple 2D strategic game like age of empire , i am not sure what to do or what to use , its between libGDX and javaFX (i dont know anything about both) i am even new to java the professor wants us to handle him the project in 20 days so guys please i am in a mess what you suggest to me to use javaFX or libGDX i know libGDX is harder but its worth it , bcs they all say javaFX is not good for games , so please tell me if i want to use libGDX how many days u think i can learn it and start doing the project and finish it .... i really need suggestions !
View all comments
4
u/benevanstech Dec 08 '25
libGDX is a powerful, but low-level library that uses many of the capabilities of OpenGL directly. However, if you don't already know OpenGL (in any programming language) then it has a much steeper learning curve.
JavaFX is the next-generation general desktop GUI toolkit. It's not specifically intended for games, but something like a GridPane could represent a set of tiles, and could work well for this assignment.
My advice would be:
Most Important: Don't Panic, and Don't Cut Corners. Make sure you set up and use Maven and Git / GH properly for the project. Write test cases. Clean up the code and stick to coding style, and document as you go.
Even if there isn't a working game at the end, doing proper professional practices will help your grade.