1 Reply Latest reply on May 3, 2007 2:42 AM by dr_ross

    Mario Brothers tilescript

      I have a Mario Brothers script that I am using. The graphic file is laid out in a picture of many 32 pica square images and has a testlevel.txt attached. Any suggestions on how I can make an exit out of this game? Is there a way to adjust the art file or text file to make a passage out of this room?
        • 1. Re: Mario Brothers tilescript
          dr_ross Level 1
          without looking at the script its a little bit vague, but you should have some code to detect what kind of tile has been hit by Mario, so determine if its the exit tile then perform the exit functionality.

          If you don't have a "whichTypeOfTileHit()" function then add it in the hitTest function which checks if Mario has hit a tile.