Saving Worlds with the ds_grids
Started by KOOPA, May 20 2012 08:11 AM
1 reply to this topic
#1
Posted 20 May 2012 - 08:11 AM
How do I save the worlds like they do In minecraft where it creates a folder and saves all the chunk information into it how do I do this please help me I can not figure out how to do it
PS: I improved the Terrain generator now there is 3 layers of terrain generation
The stone layer (for ores and stone and stuff)
The dirt layer (for sand and dirt basically)
the grass layer (the very top layer which is completely grass)
Im soon gonna work on the cave generator
PS: I improved the Terrain generator now there is 3 layers of terrain generation
The stone layer (for ores and stone and stuff)
The dirt layer (for sand and dirt basically)
the grass layer (the very top layer which is completely grass)
Im soon gonna work on the cave generator
#2
Posted 20 May 2012 - 12:03 PM
How do I save the worlds like they do In minecraft where it creates a folder and saves all the chunk information into it how do I do this please help me I can not figure out how to do it
PS: I improved the Terrain generator now there is 3 layers of terrain generation
The stone layer (for ores and stone and stuff)
The dirt layer (for sand and dirt basically)
the grass layer (the very top layer which is completely grass)
Im soon gonna work on the cave generator
ds_grid_write(id) Turns the data structure into a string and returns this string. The string can then be used to e.g. save it to a file. This provides an easy mechanism for saving data structures.
ds_grid_read(id,str) Reads the data structure from the given string (as created by the previous call).
Look in the help file under ds_grid (please! Just type ds_grid into the index and read through)
Edited by C_Pike, 20 May 2012 - 12:04 PM.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











