Making walls, the fast way. Tips?

hi,

i have a school assignment where I am told to re-interpret “little red riding hood”, now i want to make a great composition of different RPG’s where Link plays the main character but i have to present a demo soon and won’t have time to create a fully functional tile-system.

so, i need to do it a speedy way.

i took a background for a village, placed the character, made him walk, now i need to make borders/“walls” really quick. at first i thought i could just do it like this

With a movieclip called “border” and then character.hitTestObject(border), but ofcourse the bounding box of the movieclip is all the small fields together, so this results true always.

Then i thought i could make a for loop which checked all the children of border, like for (i = 0; i < border.numChildren; i++) { hitTest(border.getChildAt(i)) } sortof.

but no luck either.

i am terribly stressed and there has to be a simple solution for this no?

so, i would be ever so grateful if someone could assist me :slight_smile: