Member-only story
3d Game Programming with Java and libGDX — Hints and Tricks
Or… the journey through the x, y, and z axes through the lens of a computer screen.
TL;DR
If you want a performant game, written in Java, on the libGDX library, here are some of the handy tips and tricks that I have come across.
Whilst this is a bit of a hodge-podge of hints and tips, it is worthwhile to read through them all, even if the terms and nomenclature is not clear, it always good to have in the back of your mind that there are handy hints about a subject you are working on.
Note: this is part of a series of articles: See 3d Game Programming with Java and libGDX — Overview of Articles
Always think of performance
If there is only one thing that you do, it is this one.
Always think of performance. If you leave this too long, all of the small decisions that you have made without thinking of performance will add up, and it will be too late to fix them, and your game will run slow.
Table of contents
- Code Related
- libGDX related
- Model related
- Other considerations
Code Related
Pre-compute everything
Well, at least as much as you can, save time and CPU cycles. If you can work it out before hand, rather…