locked
Background crash? Emulator doesn`t work properly RRS feed

  • Question

  • I want to set background in Game on Windows Phone by typing


            Texture2D background_map;

    in LoadContent

                background_map = Content.Load<Texture2D>("background_map");

    in Draw

                spriteBatch.Begin();
                spriteBatch.Draw(background_map, new Vector2(0, 0), Color.White);
                spriteBatch.End();

    BACKGROUND is here https://dl.dropbox.com/u/18970413/usun/background_map.png

    When i`m running it in emulator 7.1 it gives something like this https://dl.dropbox.com/u/18970413/usun/1111.png

    Visual studio professional 2012
    XNA 4.0 
    SDK 8.0

    Whhat is wrong? ;/ I was trying to reinstal but with no effects

    EDIT:
    I`m working on windows 8 64 bit


    • Edited by mareczkos Thursday, February 21, 2013 11:21 PM
    Thursday, February 21, 2013 10:35 PM