Added: 2 years ago
From: Whiplashx86
Views: 1,065
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

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.

  • 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;

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