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.
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.
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.
Deathowner666 1 month ago
This has been flagged as spam show
because of the problem with the other line, what i switched to -->
spriteBatch.Draw(logoTexture, centerTexture,Color.White);
the fade wouldnt work. So i have to manage this problem first before i would know if --> adeColor * fadeOpacity will work.
IcetigerDave 9 months ago
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 9 months ago
@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.
Whiplashx86 9 months ago
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 9 months ago
@IcetigerDave Is fadeOpacity a float between 0 and 1? If so, simply change the line to fadeColor * fadeOpacity;
Whiplashx86 9 months ago