George Clingerman

      XNADevelopment.com
posts - 152, comments - 492, trackbacks - 181

My Links

News



Tag Cloud

Article Categories

Archives

Post Categories

. XNADevelopment.com .

Fade In, Fade Out - new tutorial covering applying a fade effect to an image

I finally posted a little tutorial covering how to fade an image in and out of a scene in XNA. I had written this code a couple of weeks ago after a question in the MSDN XNA Forums made me think about how to achieve an effect like that.


The tutorial covers step by step instructions from setting up the game project, adding an image to the project, writing the logic for fading the image in and out and how to apply that effect when drawing the image. It also introduces one of my new favorite MathHelper methods "Clamp".

I am hoping to do more tutorials of this type in the future. Much smaller in focus and easier to follow. Hopefully that means I can get tutorials out more regularly and new users to XNA will have more introductory content to digest.

As always, feel free to contact me with any advice, complaints, suggestions or questions.

Technorati Tags:

Print | posted on Thursday, December 14, 2006 9:48 AM | Filed Under [ XNA Development XNA ]

Feedback

Gravatar

# re: Fade In, Fade Out - new tutorial covering applying a fade effect to an image

George:
We are screwed if GWB has another game contest! You'll beat us, hands down.
12/14/2006 10:35 AM | Scott Miller
Gravatar

# re: Fade In, Fade Out - new tutorial covering applying a fade effect to an image

can u rewrite the code using managed directx,,

thanks,
ivanik
3/16/2007 9:13 AM | ivanik
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification:
 

Powered by: