Ciubhran
05-01-2009, 12:45 PM
By tilemap I mean the standard map structure of tile based game.
1 1 0 1
1 0 0 1
0 0 1 1
0 1 1 1
That kind of thing.
I want to make a big map, but if I am going to hardcode an array like this, it's gonna make Flash CS4 lag like **** every time I try to change the page.
In C/C++ I just used to make a small file with 0's and 1's, then load them into an array one by one.
How would I go about doing this, efficiently, in AS3?
1 1 0 1
1 0 0 1
0 0 1 1
0 1 1 1
That kind of thing.
I want to make a big map, but if I am going to hardcode an array like this, it's gonna make Flash CS4 lag like **** every time I try to change the page.
In C/C++ I just used to make a small file with 0's and 1's, then load them into an array one by one.
How would I go about doing this, efficiently, in AS3?