|
Well here is what I did, that doesnt work =P
I added
GraphicsDeviceManager graphics; to the ScreenManager class
In the main class (Game1.cs) I changed screenManager = new ScreenManager(this); to screenManager = new ScreenManager(this, graphics);
Inside my game screen (class that inherits from GameScreen) I now have...
Inside LoadContent:
Content = new ContentManager(ScreenManager.Game.Services, "Content");
myRenderer = new SpriteBatchRenderer { GraphicsDeviceService = ScreenManager.graphics
};
I did it inside LoadContent because inside my constructor ScreenManager is null(not sure why, still looking into it)
IF this should work... Then I am doing something else wrong, as this is my first project using these effects. I'll try starting a new project
|