i have a question i'm building a game where i'm trying to use the GameState i'm trying to find out a way where if i get hit 5 times it says You lose and then i want the gamestate to pop up and say do you want to play again...how can i find a tutorial or a code to show me how to do it
They are done using Pixel shaders. Some I have found on MSDN and modified for this manager others I have written my self.
You can apply shaders like this to any SpriteBatch.Draw and SpriteBatch.DrawString call, it is also how I am texturing the fonts and apply the refraction effect to the second menu option.
i have a question i'm building a game where i'm trying to use the GameState i'm trying to find out a way where if i get hit 5 times it says You lose and then i want the gamestate to pop up and say do you want to play again...how can i find a tutorial or a code to show me how to do it
nineballssj9 1 year ago
@nineballssj9 I have just replied to your PM
NemoKradXNA 1 year ago
@NemoKradXNA my bad i apologize ,lol thanks alot though i truely appreciate it
nineballssj9 1 year ago
@nineballssj9 No worries, hope it helps :)
NemoKradXNA 1 year ago
thanks alot if i get stuck i'ma run 2 you for help...thanks
nineballssj9 1 year ago
They are done using Pixel shaders. Some I have found on MSDN and modified for this manager others I have written my self.
You can apply shaders like this to any SpriteBatch.Draw and SpriteBatch.DrawString call, it is also how I am texturing the fonts and apply the refraction effect to the second menu option.
NemoKradXNA 4 years ago
wow !
how did you make background effects ?
itf4n 4 years ago