Danke für deine Antwort.
Ich habe das nun so im Code stehen, da ich nur FromStream erblicken konnte:
Code:
public void LoadContent(ContentManager Content)
{
try
{
WebClient client = new WebClient();
Uri url = new Uri("http://*********.de/ekonomiapictures/Player.png");// + PlayerName + ".png"
Stream stream = client.OpenRead(url.ToString());
characterz = Texture2D.FromStream(graphics.GraphicsDevice, stream);
stream.Flush();
stream.Close();
Draw(spriteBatch);
ldSkin = true;
}
catch (Exception e) { }
...
Leider Entsteh kein Bild. Was mache ich falsch?
Nebeninformation: ldSkin ist eine Öffentliche Variable, welche bei der Draw Methode in der Game1.cs abgefragt wird... Denn der Spieler wird in einer Extra Klasse behandelt
Danke für weitere Antworten (: