Monday, August 13, 2007

Recode

Spent all evening recoding what I did over the weekend. Changed it slightly. Don't know if I went overboard. Have 4 layers: the root stage -> map mc -> area_mc -> tile_mcs.

The tiles (i.e. walls, doors etc) are placed on the area tiles in a 6x6 grid. I have set it up so if there is just the floor nothing is placed (the floor isn't interactive so it's not a prob). The idea being that invisible areas (i.e. area_mc) gets switched off when not visible/off-stage.
At the moment when moving it is just moving the base movie clip (map_mc), and it seems a wee bit slow.

Eventually hoping to make it like the scrolling demo. Also you have to press the keys multiple times to make it scroll in th browser. It doesn't do that inside Flash.

No comments: