Hot answers tagged java
I'm not looking to start a discussion on the merits of Java Neither do I, but Fact is that Java uses all the objects by reference, nothing is used by value, the memory management is Java is good, but with puting everything in the heap, performance is low, and the program uses a lot more memory.
Just think about it, what the server has to do. In Singleplayer needs to know and simulate the world around the player. The world is made out of voxels, which naturally needs a lot more memory than just working with heights. Doing stuff procedurally also needs more CPU power, because you can't optimize and precalculate some stuff (like culling, pathfinding ...
Change glOrtho(0, width, 0, height, -1, 1); To this: glOrtho(0, width, height, 0, -1, 1); A quick little understanding about why your font wasn't working (if you don't already know), glOrtho is called like this: glOrtho(double left, double right, double bottom, double top, double zNear, double zFar). This being said, you had the bottom set to ...
Only top voted, non community-wiki answers of a minimum length are eligible