public override void Initialize() { base.Initialize(); _tilesetTexture = AssetManager.Load <Texture2D>("./Assets/Textures/tilesheet.png"); TextureHelper.SetParametersForPixelArt(RenderContext, _tilesetTexture); _tileset = Tileset.FromTileSize(_tilesetTexture, 16); _spriteShader = BasicShaderFactory.CreateSpriteShaderProgram(RenderContext); _spriteBatch = new SpriteBatch(RenderContext); }