I've been reading the tutorial here, and have been playing around with the sample. I'm pretty new to VB programming, and I can't figure out how to increase the size of the map used so that it doesn't give me a "subscript out of range" error, or any other strange occurance. If I double the FormWidth/Height and the TotalTilesX/Y, it gives me the error in this line :

Code:
TempThingSpeed = ThingSpeed * TileDesc(TileArray(CurrentTileY, CurrentTileX)).SpecialData
If I just double the TotalTilesX/Y, it moves strangley. It seems like it hits something, then it sort of extends. It's wierd.

When I just change the FormHeight/Width, it gives me that error because the map file isn't big enough, I think. But when I change the map file, the thing that's supposed to move doesn't move.

So, what I'm asking anyone who reads this, what would I change in the code to allow me to use a bigger map? Examples would be much appreciated. I'm sorry if this is an obvious thing or something, I'm pretty new. Thanks to anyone who can help me!