XNA Advanced Techniques - Intro Screen Part 5

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,064
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jul 15, 2009

In this tutorial, I continue to discuss the screen manager system and how to implement a logo/intro screen in a very abstract way for easy expansion. Very lengthy tutorial, but a lot was covered.

Part five of five

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (Whiplashx86)

  • i got a second problem with the line

    spriteBatch.Draw(logoTexture, centerTexture, new Color(Color.White, ScreenAlpha));

    i get the errormessage

    'Microsoft.Xna.Framework.Color­' does not contain a constructor that takes 2 arguments

    i try to help myself but i would be happy to get a solution from you to this problem as well.

    Because i do the tutors a second time i picked up a bite more as the last time. I am actually german and that makes it a bit harder to understand all of what you are saying.THX

  • @IcetigerDave Same thing as before, simply change it to: spriteBatch.Draw(logoTexture, centerTexture, Color.White * TransitionPercent);

    The issue: You are using XNA 4.0 when these tutorials were made for XNA 3.1 It is fine, you will just have some issues with Color with these tutorials.

  • Hi, first i have to say you make great tutorials what are helping me really much.

    I tried this what i seen in this last few tutors but my logo will not fade at all.

    I use Visual express 2010 and XNA 4.0. I also got the problem does when i use the new Color(fadeColor, (byte)(fadeOpacity * 255)));

    'Microsoft.Xna.Framework.Color­' does not contain a constructor that takes 2 arguments

    would be great to get a comment to fix that.. thx

  • @IcetigerDave Is fadeOpacity a float between 0 and 1? If so, simply change the line to fadeColor * fadeOpacity;

see all

All Comments (6)

Sign In or Sign Up now to post a comment!
  • Sorry for the problems I cause you but I have one last question :). If the logo doesn't fade what could be the problem then? My fadeOpacity is also 0.25p (same as your tut). If you have any idea let me know.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more