This project has moved and is read-only. For the latest updates, please go here.

FPE 3.2 ExitScreen() Question

Feb 25, 2011 at 6:53 PM

Hi Guys, there is a real nice feature at FPE 3.2 Simple Samples.


If you Exit the GameScreen you go for example back to the main menu.

Turing the loading, you see the old game screen, getting smaller and smaller till it disappears.


I couldnt find yet the code or the draw method, where this is done.


Can anybody help?


Thanks a lot!

Feb 28, 2011 at 12:14 AM


this is done using Rendertargets within the ScreenManager. Have a look at its Update and Draw method. The effect was taken from the Windows Phone 7 Graphics Features Demo from AppHub btw. It features a few more nice screen transitions so you might want to have a look at that.

The samples use lots of code from the ScreenManager Tutorial on AppHub, which is very well documentend and probably worth looking at for everyone who builds upon our samples for prototyping.