EDIT : viewtopic.php?f=14&t=20478&start=100#p329890
For the signature i can understand it bother you but understand i wish to make the game much bigger... Why should i don't write just my name? It's planned to get removed once I manage to give a proper UI to the game. Understand i give TOTAL credit to the creators of craft and craftng for the ground work. It's not to be pretentious.
h
EDIT2 / DEVLOG: I rebased ocean system. Water now generates accordingly to normal mapgen, meaning water will generate under a certain level (45 in this case). It allows to have smooth slopes going into water and proper beaches all around. It's easely tweakable, looks nicer and runs much better.Full code: (much much smaller code :D)
Code: Select all
// Ocean new prototype (generates water at a low level)
for (int y = 22; y < 45; y++) {
func(x, y, z, Item_WATER * flag, arg);
}
// ice on frigid biomes
float biomen = simplex3(-x * 0.0005 * (1 / BIOME_SIZE), -z * 0.0005 * (1 / BIOME_SIZE), q * 0.001, 2, 16.0, 1);
if(biomen > (4.0f/5.0f) && biomen < (5.0f/5.0f)) {
// 2 ice layers on water
if (simplex2(x * 0.0004, z * 0.0004, 8, 1.5, 2) > 0.6) {
func(x, 43, z, Item_ICE * flag, arg);
func(x, 44, z, Item_ICE * flag, arg);
}
}
EDIT4: Transparency done, see by yourselves: