NotExistant Posted August 13, 2008 Author Share Posted August 13, 2008 I was working on a way to allow the player to optionally play in fullscreen mode it works fine and all but when it maximizes the window you cant see the game anymore it turns gray. If anyone could tell me why or tell me how to make it change the windows resolution to 800x600 while the game is running so that I don't have to tweak all the sizes based on the width of the form that would be awesome :). Link to comment Share on other sites More sharing options...
Oizumi03 Posted August 13, 2008 Share Posted August 13, 2008 Hmmm. I think you'll need to change the resolution (which will unfortunately make it look funny with pixels and all) because that's how (example) windows internet explorer works, when you maximize the page, the resolution is changed, not just the size.It's how maximizing and minimizing applications work. There might be a way but I'm about 98% sure there isn't. Link to comment Share on other sites More sharing options...
Homicidal Monkey Posted August 13, 2008 Share Posted August 13, 2008 @Oizumi03:> Hmmm. I think you'll need to change the resolution (which will unfortunately make it look funny with pixels and all) because that's how (example) windows internet explorer works, when you maximize the page, the resolution is changed, not just the size.> It's how maximizing and minimizing applications work. There might be a way but I'm about 98% sure there isn't.look for dispMode in the source (in the direct x initialization sub), I think an optional parameter will change the screen resolution. If the resolution is 800x600, the game is full screen. Link to comment Share on other sites More sharing options...
Oizumi03 Posted August 13, 2008 Share Posted August 13, 2008 Ya, I always get confused on those.The smaller the numbers, the larger the screen.. or at least bigger icons. >.> Link to comment Share on other sites More sharing options...
NotExistant Posted August 13, 2008 Author Share Posted August 13, 2008 @Simius:> look for dispMode in the source (in the direct x initialization sub), I think an optional parameter will change the screen resolution. If the resolution is 800x600, the game is full screen.I cant fine it :(. Link to comment Share on other sites More sharing options...
Niko Posted August 13, 2008 Share Posted August 13, 2008 use ctrl f, in the dx sub,not sure which model. But you can do it on the whole source and it will find it for you. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now