Niften
Member
Hello everybody,
I'm incorporating metadata for blocks in my game and I'm not sure what the most efficient method is. Right now I have 3 grids of data for one chunk - foreground, background, and metadata for the foreground layer. I was thinking of nesting ds_maps inside of each grid cell and this would come with a huge number of benefits, but wouldn't this take up a lot of memory and cause lag every time I have to refer to it?
Just need a nudge in the right direction here. Anyone?
(PS: I'm using buffers to save)
I'm incorporating metadata for blocks in my game and I'm not sure what the most efficient method is. Right now I have 3 grids of data for one chunk - foreground, background, and metadata for the foreground layer. I was thinking of nesting ds_maps inside of each grid cell and this would come with a huge number of benefits, but wouldn't this take up a lot of memory and cause lag every time I have to refer to it?
Just need a nudge in the right direction here. Anyone?
(PS: I'm using buffers to save)