I've got a quite embarrassing problem. I don't know how to properly sort my objects for this tilebased game I got. I'm using the formula
depth = y *maxX +x
but that's just temporary as I want to be able to place more then one object at the same tile. Actually it's not hard to figure out how to fix it - the real problem lies in the fact that flash swaps depths if the depth specified is already in use. Therefore it works sometimes depending on which depth the other mc got.
I made this example, and I'm attaching the .fla aswell.
Hey kianis, i remember your game of the last 48 hr comp, it was amazing, the idea was very original and the collision detecting was nice. I haven't seen you in the actual 48 hr comp forum, are you going to participate?
This is MC. His _parents sent him to stop() by the super market to buy some _root beer if he wanted to gotoAndPlay() with his friends at the park later.