/// <summary> /// Load your graphics content. /// </summary> protected override void LoadContent() { var basePath = GetAppDir(); Dictionary <string, object> load_data = CreatureModule.Utils.LoadCreatureJSONData(basePath + "\\Content\\iceDemonExport_character_data.json"); curCreature = new CreatureModule.Creature(ref load_data); curManager = new CreatureModule.CreatureManager(curCreature); batch = new SpriteBatch(this.GraphicsDevice); curManager.CreateAnimation(ref load_data, "default"); curAnimationName = "default"; curManager.SetActiveAnimationName(curAnimationName); curManager.SetIsPlaying(true); curManager.should_loop = true; Texture2D curTexture; curTexture = Content.Load <Texture2D>("ice.png"); curRenderer = new CreatureRenderer.Renderer(graphics.GraphicsDevice, curManager, ref curTexture); curRenderer.world = Matrix.CreateScale(new Vector3(25.0f, 25.0f, 1.0f)); }