I need beginner help on loading an image (2D). I have an error
- by Seth Taddiken
I keep getting a "NullReferenceExeption was unhandled" with "Object reference not set to an instance of an object." written under it. I have all of the images (png) correct with names and added to references.
protected override void LoadContent()
{
spriteBatch = new SpriteBatch(GraphicsDevice);
backGround = Content.Load("Cracked");
player1.playerBlock = Content.Load("square");
player2.playerBlock = Content.Load("square2");
}