XNA get rid of -Paused from title?
I just added a pause button to my game, using most of this code: http://msdn.microsoft.com/en-us/library/bb195026%28v=xnagamestudio.31%29.aspx
For some reason it changes the Window.Title to "[GameName] - Paused" and even though it's unpaused it still says paused in the title. I never told it to change the title so I guess it assumes when the "P" key is hit to print out "Paused" in the title but how do I make it go away when it's unpaused?
Edit: I figured out it's getting "Paused" from the 'menu' I'm printing out which is just a Paused texture2D in the top right of the screen. I don't understand how that's affecting the Window.Title though.
Slyvr
Junior Poster in Training
74 posts since Dec 2010
Reputation Points: 10
Solved Threads: 3
No it does not. I have declared Window.Title("[GameName]") in the initialization. Besides that, I've never done anything with it. It adds "- Paused" to the title once I hit the P key. I assume it's a built in function of XNA but I don't want it to be doing that.
Slyvr
Junior Poster in Training
74 posts since Dec 2010
Reputation Points: 10
Solved Threads: 3