Thanks, glad you like it and that it runs smooth grin

But i am still wondering how you can create a really huge world like in minecraft, i've heard the space is 3 times bigger than the earth.

I can create a field of a size 512x512x128 without problem (though the framerate will slowly die, its under 30 then, depending on how far i can see).

But if i go bigger, i get OutOfMemory exceptions. So i am wondering how they do it in minecraft, hmm.


EDIT: hmm i was just thinking. Since i can't create a bigger array at runtime (due to memory problems), i think i need to generate the level as textfile and save it. This one can be as big as it wants to be.

And then ingame, i will cut out the surrounding worldchunks from that file, like 128x128x128 blocks or whatever and only use those sub-world arrays for the current one. When i am about to leave a field, i will re-load the map with the new coordinations (i've noticed how minecraft almost stops at certain map points, i bet they re-calculate the current map too).

This could work, i dunno. What do you guys think? Do you have any idea?

Last edited by Captain_Kiyaku; 10/04/10 02:46.

My Blog

"Tag und Nacht schrei ich mich heiser,
Wind weht alle Worte fort,
Tag und Nacht schrei ich mein Krähenwort!"

Subway To Sally - Krähenkönig