Geeks With Blogs
George Clingerman       XNADevelopment.com

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:
Posted on Thursday, December 14, 2006 9:48 AM XNA Development , XNA | Back to top


Comments on this post: Fade In, Fade Out - new tutorial covering applying a fade effect to an image

# re: Fade In, Fade Out - new tutorial covering applying a fade effect to an image
Requesting Gravatar...
George:
We are screwed if GWB has another game contest! You'll beat us, hands down.
Left by Scott Miller on Dec 14, 2006 10:35 AM

# re: Fade In, Fade Out - new tutorial covering applying a fade effect to an image
Requesting Gravatar...
can u rewrite the code using managed directx,,

thanks,
ivanik
Left by ivanik on Mar 16, 2007 9:13 AM

Your comment:
 (will show your gravatar)


Copyright © George Clingerman | Powered by: GeeksWithBlogs.net