• Advertisement
Sign in to follow this  

Problem with Windows Phone "Hello World" code

This topic is 1899 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Knowledgeable Ones,

I am following the MS code for "How to create your first XNA Game Studio 4.0 app for Windows Phone", here: http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff472340(v=vs.105).aspx.

I am getting screwed up output in the Windows Phone Emulator. Screen shot is attached.

Worthy of note: In the MS tutorial it says to select a deployment target of Emulator WVGA. This option is not listed for me.....the deployment targets that are listed for me in Visual Studio are Windows Phone Device, Windows Phone Emulator - 256mb, and Windows Phone Emulator 512mb. I get the same output with every option.



I downloaded all of the tools yesterday, so I'm assuming they are up to date.

What's wrong?

THANKS

Share this post


Link to post
Share on other sites
Advertisement
That looks like the rather common bug of graphics getting messed up on the emulator if not running in (on-phone) fullscreen mode. Use GraphicsDeviceManager.IsFullScreen = true.

Share this post


Link to post
Share on other sites
I tried changing to full screen, no difference. Also downloaded the MS code and ran it.....same output.

Share this post


Link to post
Share on other sites
MS code does not use fullscreen.

However, if you changed that and it still doesn't work, I guess you have a different problem :/

Share this post


Link to post
Share on other sites
I confirmed that my graphics card is up to snuff: ATI FirePro V3750

DirectX 10 or DirectX 11 graphics card with WDDM 1.1 or later driver, and DDI 10 or later. For additional information, see Optimizing Performance for Windows Phone Emulator. For information about determining the current configuration, see DirectX Configuration in this topic.

Share this post


Link to post
Share on other sites
Update....if I change the orientation of the Windows Phone Emulator a couple of times then it starts rendering correctly. Wierd.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement