@AquadianEffect Somebody else had this problem and we were able to work it out and solve it on my forums. I will send you a message about the solution since Youtube hates my comments
@Whiplashx86 I don't understand about what you should do wen you use XNA 4.0. Just the step about tha alpha, In the program what are we suposed to do?
and another problem :s but now with this line ... new Color(fadeColor, (byte)(fadeOpacity * 255))); he says the same. Any Idea wat the problem could be there?
@Whiplashx86 Thanx, that works, but now I have another problem with : "spriteBatch.Draw(pixel, new Rectangle(0,0, viewport.Width, viewport.Height), new Color(fadeColor, (byte)(fadeOpacity * 255)));" he sais again, color does not contain a constructor that takes 2 arguments. Do jou have any Idea with that?
That is the only error left. And again thanks for the help :)
@Deathowner666 Start the video from the beginning. I posted a note on the video explaining this. Hopefully I gave enough information for you to understand. YouTube would not let me write any more :P
hey, when i write
Fadecolor = color
i dont get the colors class...
kadnam222 9 months ago
@kadnam222 I am assuming you are using XNA 4? Color was moved to Microsoft.Xna.Framework, so add that using statement above.
Whiplashx86 9 months ago
@Whiplashx86 I fixed it yesterday,but thanks anyway
I needed to add Microsoft.Xna.Framework.graphics;
and im using XNA 3.1
And ur tutorials rock mate.
kadnam222 9 months ago
I just cannot get the fading to work in 4.0...
AquadianEffect 10 months ago
@AquadianEffect Somebody else had this problem and we were able to work it out and solve it on my forums. I will send you a message about the solution since Youtube hates my comments
Whiplashx86 10 months ago
When I write new Color(Color.White, ScreenAlpha) it says that Color can't take 2 arguments. What should I do to get around that?
The3picNerd 11 months ago
@The3picNerd I am assuming you are using 4.0? Color is different from 3.x -> 4.0. Check the link in the description for more information.
Whiplashx86 11 months ago
@Whiplashx86 I don't understand about what you should do wen you use XNA 4.0. Just the step about tha alpha, In the program what are we suposed to do?
Do I still have to type new Color(Color.White)?
Deathowner666 1 month ago
Comment removed
Deathowner666 1 month ago
This has been flagged as spam show
and another problem :s but now with this line ... new Color(fadeColor, (byte)(fadeOpacity * 255))); he says the same. Any Idea wat the problem could be there?
Deathowner666 1 month ago
@Deathowner666 You have to write Color.White * alpha.
Where alpha is a float value between 0 and 1.
Whiplashx86 1 month ago
@Whiplashx86 Thanx, that works, but now I have another problem with : "spriteBatch.Draw(pixel, new Rectangle(0,0, viewport.Width, viewport.Height), new Color(fadeColor, (byte)(fadeOpacity * 255)));" he sais again, color does not contain a constructor that takes 2 arguments. Do jou have any Idea with that?
That is the only error left. And again thanks for the help :)
Deathowner666 1 month ago
@Deathowner666 Change the line to:
spriteBatch.Draw(pixel, new Rectangle(0,0, viewport.Width, viewport.Height), fadeColor * fadeOpacity);
Whiplashx86 1 month ago
@Whiplashx86 Thanx man you rock !!
Deathowner666 1 month ago
@Deathowner666 Start the video from the beginning. I posted a note on the video explaining this. Hopefully I gave enough information for you to understand. YouTube would not let me write any more :P
Whiplashx86 1 month ago
@The3picNerd Okay I cannot post the link, I will send you a message with it.
Whiplashx86 11 months ago
Very thorough tutorial, thankyou
iank240 2 years ago