protected override void Initialize() { base.Initialize(); spriteBatch = new SpriteBatch(GraphicsDevice); Resources.LoadResources(GameConfigManager.GetConfig().resources_directory, GraphicsDevice); }
protected override void LoadContent() { base.LoadContent(); font = FileManager.LoadSpriteFontFromFile(GraphicsDevice, GameConfigManager.GetConfig().resources_directory + "/fonts/small_font.ttf", 20, 1024, 1024, new List <SpriteFontPlus.CharacterRange> { SpriteFontPlus.CharacterRange.BasicLatin }); }
public GameObject() { children = new List <GameObject>(); scale = GameConfigManager.GetConfig().global_scale; }
public void UpdatePackageTexture() { packageTexture = FileManager.LoadTextureFromFile( GraphicsDevice, GameConfigManager.GetConfig().resources_directory + editorView.selectedPackage.texture_path); }