Been doing some more work on this and got my virtual map things going. You can see it on the right hand side. (You can switch it off by setting debug.generate to false).
It took me a couple of days to iron out the wrinkles, but it seems to be moving around ok, even if it is a little jerky. Also need to reinstate the board move/scroll as well.
Focusing on foreground/background stuff at the moment. Trying to change foreground clips (i.e. walls, etc), to have a higher depth than the character if they are in the foreground. This would make the character go behind walls, and remove the floating appearance.
This is turning out to be a little tricky as 'char' (the character) is attached directly to 'axomap', and the 'tile' movie clips are attached to 'area' movie clips, which are then attached to 'axomap'. This seems to be doing weird things since the area depth (which the tile is attached to) is lower than 'char' depth, but the tile I have moved to the foreground (still attached to the 'area' mc) has a higher depth than 'char' depth.
AM I making sense? Basically is there any correlation between a mc's depth and its parent depth, or are they totally independent and non-related?
The reason why I ask is that my walls keep disappearing when I move them to the foreground, and I don't know why.
Here is the flash file.
Monday, August 20, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment