#141785 - QuantumDoja - Sat Sep 29, 2007 11:44 pm
Hi, it's been a while since my last post!
I have some HUGE levels that I store in arrays and have ran into a problem where I can only have one level in the game, as If I add another level, and try to run the first level, it wont load and the screen gets some corruption, so I am assuming I am overwriting some memory.
Has anyone got an ideas or suggestions on how to get around this?
My first thoughts are store the arrays in a compressed format and then when its ready to load run a function on it to expand the array into memory big enough for 1 level....but again if I have HUGE levels this may not work...Or have i missed something completely?
Thanks
PS...my maps are like 2400 tiles by 600 tiles - super stupidly huge
_________________
Chris Davis
I have some HUGE levels that I store in arrays and have ran into a problem where I can only have one level in the game, as If I add another level, and try to run the first level, it wont load and the screen gets some corruption, so I am assuming I am overwriting some memory.
Has anyone got an ideas or suggestions on how to get around this?
My first thoughts are store the arrays in a compressed format and then when its ready to load run a function on it to expand the array into memory big enough for 1 level....but again if I have HUGE levels this may not work...Or have i missed something completely?
Thanks
PS...my maps are like 2400 tiles by 600 tiles - super stupidly huge
_________________
Chris Davis