• Register

Crawle is a sandbox dungeon-crawler with a focus on realistic survival featuring mechanics such as sanity, hunger, thirst, energy and diseases.

Post news Report RSS [Development] 12/4/12 - Chunks, Biomes, and General Optimisations.

Well, for the next three months, I'll be programming Crawle, mainly. Some things to look forward to involve optimisations, and, finishing off core mechanics, such as biomes, building, and combat.

Posted by on

Well, not much image-wise today, because I've been trying to finish off chunks. Basically, each 16x16 grid makes up one chunk, and, currently, each chunk is about 51 KB, allowing very quick loading of multiple chunks, and very quick saving of multiple unloading chunks.

What this basically means is that many FPS issues within Crawle should easily be resolved, as, part of the chunk system means that seeds aren't allocated to a constant, meaning, there's no massive amount of seeds being stuck on one place.

This also means that worlds will become "infinite". I've put that in quotation-marks, because, technically, the worlds can span from 16x16 chunks from -VB6Long (-2,147,483,648) to +VB6Long (2,147,483,647). Multiply 16 by ((+)-Long + Long), and you get 34,394,098,080. What does that mean?

Well, that's simply how big the worlds are in tiles. 34,394,098,080 tiles wide, and the same tall. Pretty big stuff. The best bit?

It's lagless, and each chunk loads in a small-fraction-of-a-second.

Post comment Comments
Ctrax
Ctrax - - 15 comments

That is the sound of progress my dear friend. Ah i love this!

Reply Good karma Bad karma+1 vote
Carim Author
Carim - - 20 comments

Little fact bite: If you explored the whole world, it'd come to 1754099.002080gb! (Thanks, Sekaru! xD)

Reply Good karma+2 votes
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: