public override void Load() { FontTest = new MSDFFont("content/fonts/Hack.ttf"); CrosshairTex = Importers.Load <Texture>("content/textures/crosshair_default.png"); /*MSDF = new ShaderProgram(new ShaderStage(ShaderType.VertexShader, "content/shaders/default.vert"), * new ShaderStage(ShaderType.FragmentShader, "content/shaders/msdf.frag"));*/ Ply = new Player(); Engine.SpawnEntity(Ply); GameWorld = new World("content/maps/sandbox.txt"); Ply.Position = GameWorld.RelativeSpawns.FirstOrDefault(); Engine.SpawnEntity(GameWorld); GConsole.RegisterCommand("getcam", () => { GConsole.WriteLine("Pos: " + Ply.Position.ToString()); }); }