I'm makin a game and I have a lot of things that are being stored. Well I am using arrays to store information, actually I'm using types that have arrays. Example:
VB Code:
Public Type tPosition SolarNumber As Long SolarName As String SolarSystemInfo As String PlanetNumber As Long PlanetName As String PlanetInflation As Long 'Should always be a percent. 0.05 for 5% PlanetInfo As String CityNumber As Long CityName As String CityInfo As String CityWeather As String CityInventoryNumber(1000) As Long CityInventoryName(1000) As String CityInventoryAmount(1000) As Long End Type Global Position(1000, 1000, 1000) As tPosition
Well as you can see, that's a lot of information.... Well I have a crap load more types like this; but not with the (1000, 1000, 1000) arrray.. Main just one set of 1000..... Now, I need to know if there is any other way to store large amounts of code like this. Without hogging memory. Or should I have the positions set like this?
VB Code:
SolarSystem(12).Planet(3).City(400).Name = "Akron"
I am lost. I've never had to work with this amount of arrays and information that is going to be stored... I am open to any suggestions. Thanks in advanced.
By the way; it won't even let me do Position(10, 10, 10)




Reply With Quote