Cubes

Build status A simple voxel game featuring single player, multiplayer and endless procedurally generated terrain. It also has many backend features like mod support in Java and Lua as well as the ability to load content from JSON files.

License | Credits | Changes | Downloads

Screenshots

Screenshot 1 Screenshot 2

Mods

For sample json and lua mods, see mod_sample/json and mod_sample/lua respectively. CubesSampleMod is a sample java mod, which uses CubesModPlugin, a gradle plugin to build .cm files automatically. CubesEquationTerrainGenerator is an example of a mod that actually does something (add terrain generators based off mathematical expressions).

Launcher

Cubes Launcher will automatically update your Cubes client and can be downloaded from the above Downloads link.

Building

To customize the build, make a file called 'build.properties' in this folder and put the following lines:

To build signed android artifacts:

ANDROID_KEYSTORE_FILE=[Keystore file]
ANDROID_KEYSTORE_PASSWORD=[Keystore password]
ANDROID_KEYSTORE_KEY_ALIAS=[Key alias]
ANDROID_KEYSTORE_KEY_PASSWORD=[Key password]

To specify maven repo path and authentication:

MAVEN_REPO_PATH=[Path]
MAVEN_REPO_USERNAME=[Username]
MAVEN_REPO_PASSWORD=[Password]