Hi!
I'm making a system for environment in my gameworld to have thousands and thousands of object positions and statuses saved in an array.
This far it has worked pretty well while doing "mediumsize" matrix and placing up to 300,000 different positions/statuses for objects in there. It's for rolling the objects within the camera so it gives an illusion of streaming environment.
I just thought that as this is going to be a huge gameworld, may there be problems with usage of array. I've thought about including array that's like dim objects(tilex,tilez,objectamount) as objectype, and the objectype consists of various variables.
The memoryload wouldn't be too much even if the whole array would be loaded at 1 time(tho the loading time would be pretty long, the memory consumption aint that bad)
I don't know is this the best way to do it, what about memblocks or something? I haven't used em at all yet, but is there a benefit of saving all the data into a memblock, and reading single variables from it? would that be considerably faster?
hmmmh.. that didn't compile