-
Notifications
You must be signed in to change notification settings - Fork 9
Textures
Textures in this game are retained from the original java version, and are procedurally generated to save space. Because of their procedural nature, textures will not be exactly identical on different seeds.
The textures are stored on after another in a 1 dimensional integer array containing color values, and are arranged by block ID. Each block has three textures - a top texture, a side texture, and a bottom texture (which is darkened). textures
array is currently global.
Textures are procedurally generated when the game launches with the function genTextures(unsigned int seed)
.
Eventually, there will be a system of functions to procedurally generate and move texture data around, allowing for far more blocks to be generated. A block set similar to that of minecraft alpha is planned.
These textures were generated from the original java version: