max-mapper / voxel-engine

3D HTML5 voxel game engine
http://maxogden.github.com/voxel-engine
BSD 3-Clause "New" or "Revised" License
1.29k stars 220 forks source link

Storing the world #71

Open mbajur opened 11 years ago

mbajur commented 11 years ago

Hello, i have a quick and simple question. Sorry if that's a duplicate but i was not able to find anything helpfull on the internet. So, the thing is: is there any way to store the world as array or JSON ?

All the examples i had browsed have some kind of world-generating algorithm.

Thanks in advance for your help. Keep up the great work! :)

max-mapper commented 11 years ago

Hi, this is good question. I am actually working on some storage tools this week, I'll come back to this issue and paste them once they are done

Sent from my iPhone

On Apr 19, 2013, at 8:40 AM, Mike Bajur notifications@github.com wrote:

Hello, i have a quick and simple question. Sorry if that's a duplicate but i was not able to find anything helpfull on the internet. So, the thing is: is there any way to store the map as array or JSON ?

All the examples i had browsed have some kind of world-generating algorithm.

Thanks in advance for your help. Keep up the great work! :)

— Reply to this email directly or view it on GitHub.

mbajur commented 11 years ago

Great, thank you :)

max-mapper commented 11 years ago

update: I wrote https://github.com/maxogden/voxel-level and it works pretty well! I'm using it in http://github.com/maxogden/blockplot

i'll get around to writing better readmes soon