Ore Infinium, Open Source multiplayer Terraria-inspired Sci-fi game, focused on technology, devices and researching. Written in Kotlin (JVM), LibGDX. Cross platform. reddit: http://reddit.com/r/ore-infinium

Ore Infinium


Join the chat at https://gitter.im/sreich/ore-infinium

Build Status

Ore Infinium, an Open Source multiplayer Terraria-inspired Sci-fi game with a special focus on in-game tech devices, energy generation/consumption, resources gathering and the survival through using these things.


Written in Kotlin (Java/JVM language)

Libraries used: * LibGDX(base cross platform game framework) * artemis-odb (entityId component systems library) * KryoNet(networking library) * Scene2D.ui(GUI)**, part of libgdx * Joise(noise module chaining framework, for generating the game world in complex ways)

Inspired a lot by tekkit(now feed the beast) for minecraft, but I’m not a fan of its overwhelming complexity, although it has some really great gameplay ideas/mechanisms. I aim to incorporate some of these ideas, improve them where I can, improve the process and hopefully make it easier, less grueling and more fun.

I’m likely going to go the route of making energy consumption/production be a global thing. For example, placing a generator will increase your global energy generation rate/stats by that much. I’m most interested in having devices depend on resources, and use them to do neat things, assuming it doesn’t make things too overwhelmingly complicated for someone like me. Having to manage fuel sources for generators, switch off devices when too much is being consumed (so that important devices like charging stations, which enable you to dig), and defenses, don’t stop working.

Extremely early development!

It is planned and written for multiplayer but so far has only been tested local machine only.

It also will not have any lag compensation/prediction at all for a while until I get more functionality (functionality being more important, and lag compensation can be a bit of an after thought, as it is more time consuming and requires a lot of tuning)..not to mention the protocol will need to be optimized, eg things like block sending are very inefficient, as I work on getting other features in. It also currently spams packets like crazy, when it should be aiming for 20-30 packets/s each for client or server.

#Platforms All desktop platforms (which can run the JVM) (Linux with OpenJDK, Windows, Mac OS X).


You will need java 8 (jre 1.8) installed. OpenGL 3.0+ (shouldn’t be difficult to meet, linux open source drivers meet that easily. Any integrated gpu in the past several years should support it).


Regular builds (jar files) can be downloaded from my dropbox builds

Simply execute it by ‘java -jar pathtojar’

Debugging/development and testing

If you wish to test and such, you’ll probably want to enable assertions, as I use them all over the place to ensure consistent game state, and sane behavior. You must pass ‘-ea’ (“enable assertions”) to VM Options.

Should work with every IDE just fine. For IDEA, see: http://www.jetbrains.com/idea/help/setting-configuration-options.html

To build locally, just check out the code. It uses a submodule currently, for the assets. So run git clone –recursive . If you’ve already checked out the main repo and forgot to run it with –recursive, you won’t have the submodule located in ore-infinium/core/assets. So, do git submodule update –recursive

To build it with gradle, from the command line, run ./gradlew desktop:build (or just click that gradle task from your IDE.

I’m using Kotlin, so you can use Intellij IDEA or eclipse(if you download the plugin)

Command line arguments

There are some command line arguments that can be passed to it. Find them by running java -jar ./ore-infinium-and-what-not –help. Some of these switches are used for development, some are used for gameplay, testing etc.


Code is licensed as MIT, assets are(will be) licensed under permissive asset licenses. (CC0 mostly). See assets dir for more detailed license info.

Why Kotlin

Chosen because it’s a very nice language that released a little after I discovered it, it improves a lot on Java’s shortcomings, but also doesn’t get in one’s way. It’s similar enough to Java that if you know Java, it should be easy to pickup most things.

It interops with Java code 100% as well, and obviously, runs on the JVM to do so.

It’s more pragmatic than other languages. Why it over java? Well, useful lambdas..I’m actually using them now all the time, unlike before. And null safety is another big one, that gives some really nice predictability.

Static typing and null safety is great because it means the compiler can smack me before I run it and figure out my mistake an hour later. Loads of convenience things that any modern language will have. Unfortunately, java has none of those, and probably never will.

Contributing and Contact

Feel free to talk to me on gitter, ask questions, get help, create issues, make patches!

Chat with me on gitter(github messenging): Join the chat at https://gitter.im/sreich/ore-infinium

Related Repositories



Ore Infinium, Open Source multiplayer Terraria-inspired Sci-fi game, focused on technology, devices and researching. Written in Kotlin (JVM), LibGDX. Cross platform. reddit: http://reddit.com/r/ore-infinium ...

Top Contributors

sreich antag99 gitter-badger