|
-
ok...so what you're saying is that we can still maintain a 2d array that would tell the buildMap() which tile is what...meaning what to display (image wise) as well as other propreties such as if that tile/image is walkable or not...or other things like that...
where I'm getting confused is, because before, through the gotoAndStop engine, since tiles were MCs one could just simply "attach" the prototype of that tile to the propreties of any/all the different tiles MCs.....so then that MC became "intelligent" acquiring those prototype propreties.....
here if we're not using MCs for each tile....what do we attach all those prototype propreties to??....meaning if all there is there is a bitmap to represent that tile....so now if the player is moving through the tileworld and needs to check if a tile is walkable or not or whatever.....how would you check for that...if it's not an MC anymore?.......would you always have to check/reference back the 2d array/obj to see what kind of propreties that tile has?....
sorry I'm a bit confused on that.....if you could explain further, or make a simple example....that would be cool/appreciated !! :-)
thanks,
paul.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|