I have just one more question...The array is vertically showing, how to put it horizontally ?
I mean to put it like int mapArray[4][5] =
{
{1,0,0,0,0},
{1,0,0,0,0},
{1,0,0,0,0},
{1,0,0,0,0},
};
to int mapArray[4][5] =
{
{0,0,0,0,0},
{0,0,0,0,0},
{0,0,0,0,0},
{1,1,1,1,1},
};