im working on a pong and tetris game, for the tetris game im using a muti dimensienal array, im actually using a tut but i dont get it :bashhead:
- what does this part mean
tiles = new Array(12*22); table = new Array(12*22); RightLimit = new Array(16); NextPiece = new Array(3); count = 0; for (y=0; y<=21; y++) { for (x=0; x<=11; x++) { count++; CurTile = "Tile"+count; duplicateMovieClip ("Tile0", CurTile, count); eval(CurTile)._x = x*18-112; eval(CurTile)._y = y*18-200; eval(CurTile).gotoAndStop(1); } } RightLimit[0] = 0; RightLimit[1] = 8; RightLimit[2] = 11; RightLimit[3] = 10; RightLimit[4] = 10; RightLimit[5] = 9; RightLimit[6] = 10; RightLimit[7] = 9; RightLimit[8] = 10; RightLimit[9] = 9; RightLimit[10] = 10; RightLimit[11] = 9; RightLimit[12] = 9; RightLimit[13] = 10; RightLimit[14] = 9; RightLimit[15] = 10; gotoAndPlay("NewGame");
can anyone tell me what this part does in my tetris game? I would really apreciate it The finished tetris game should look like the attached file also if you want to see the rest of the coding just ask me
I need help ASAP
Attached Files
Edited by FlashGameboy, 23 July 2005 - 08:39 PM.