D
DerFubel
Guest
I'm currently working on a game which uses different maps (not ds_maps, just maps!). Therefore I saved all the tiles of a map in a ds_grid. So I end up with many different ds_grids, that I want to save & load. Is there any way to do this with data structures? I already tried to put them in other ds_grids and ds_lists, but the game won't let me load it, I'll always get the "trying to index a variable which is not an array" error.
Or does it work and I simply overlooked something? I'm pretty sure that I always treated the ds_grid as a ds_grid.
I've created an array for each tile to store sprite and z-position and then stored this array (actually the pointer to this array) in the ds_grid. Is it possible that something went wrong there? I'm really on the hook because I don't know what I did wrong. Thanks in advance.
Or does it work and I simply overlooked something? I'm pretty sure that I always treated the ds_grid as a ds_grid.
I've created an array for each tile to store sprite and z-position and then stored this array (actually the pointer to this array) in the ds_grid. Is it possible that something went wrong there? I'm really on the hook because I don't know what I did wrong. Thanks in advance.