XNA Essentials

Game Programming for Xbox 360, PC + Windows Phone

NAVIGATION - SEARCH

Chapter 5, SplitScreen, Game1.LoadContent

In Game1.LoadContent at the end of the 'if (twoPlayers)' code right before 'Components.Add(camera2);' you need to call camera2.Initialize() since the camera.Initialize only get called automatically if the camera is added to Components before Game.Initialize() runs (which is when the program first starts before LoadContent is called.

Robin - Wednesday, March 24, 2010 @ 10:31 PM