3 ms·
It was a 2d game, we chose Java because there were tons of library available and because everyone knew Java or could learn it easily. It's a usable language, a
by jokethrowaway 5y ago
It was a 2d game, we chose Java because there were tons of library available and because everyone knew Java or could learn it easily.
It's a usable language, albeit unpleasant. Also the primitive type system meant we had the weirdest bugs uncaught in production which took forever to debug.
I recently had the chance to build games again and we picked Typescript (for a 3d game) and Rust (for a 2d game).
Typescript is okish, unfortunately most of the libraries we use have patchy type support which translates to a few errors at runtime - but we didn't have many problems.
Rust has been pretty amazing. We're using early stage software (bevy) but the codebase is a pleasure to work with and once it compiles, things really work. One great advantage is using ECS. I tried to prototype the 3d typescript game with and ECS library but, again, lack of typing support in the library meant a lot of pain.
I've been using Rust for pretty much everything lately (from videogames, to running tensorflow, to writing web servers) and I have to say the advantages of using the language shadow the OSS projects being early stage.