Original Post
Well ill give you some background, I am making a Breakout Clone and it is pretty much finished theres just one snag.... Theres one level. Like my usual self I didnt sit back and plan it out first just started hacking code together. Now the problem I have the following : - int rows = 3; //Number of rows depending on level bool[,] blocksBool = new bool[8,rows]; //To Make the brick go away Vector2[,] blockPos = new Vector2[8,rows]; // position of the bricks BoundingBox[,] boxBounce = new BoundingBox[8,rows]; //For the bounding box Now the error message says i cant reference a nonstatic field, method or property into the arrays. (I know I cant but I need them to change depending on the level :S) I have code accessing the arrays in several different functions however so I cannot just up and move the declarations or I start to get errors all over the place (as I would expect haha). Help please :) the problem might be staring me in the face but ive had hardly any sleep as im trying to get my sleeping patterns back in order for when i go back to Uni on monday. (oh deep joy)