Salut,
je viens de migrer vers XNA 3.0 et le fonction de chargement me fait planter tout le programme.
voilà comment je fais
ça bloque ici : myTexture = Content.Load<Texture2D>("1.png");// This is a texture we can render.
Texture2D myTexture;
protected override void LoadContent()
{
// Create a new SpriteBatch, which can be used to draw textures.
spriteBatch = new SpriteBatch(GraphicsDevice);
myTexture = Content.Load<Texture2D>("1.png");
}
pouvez-vous m'aider? merci.
Partager