protected override void Initialize() { gd = graphics.GraphicsDevice; sb = new SpriteBatch(gd); renderHelper = new RenderHelper(gd, sb); graphics.PreferredBackBufferHeight = 600; graphics.PreferredBackBufferWidth = 800; graphics.ApplyChanges(); sm.AddSystems(new object[] { new AnimationSystem(), new MoveSystem(), new CollisionSystem(), new RenderSystem(), //new RenderCollisionBoxSystem(), //new InputSystem(), new WorldSystem(), new SoundSystem(), new RenderGUISystem(), new AnimationGroupSystem(), new RenderAnimationGroupSystem(), new RenderTextSystem(), new TextDurationSystem(), }); base.Initialize(); }