Ok...so I have an option to set the screen to be x2 in size. It's a 640*480 window size. No titlebar, no frame, etc. Just the game window at 640*480. 640*480 doubled is 1280*960. When I set the window to 1280*960, the horizontal ratio looks fine: pixels are now doubled horizontally. Vertically it's another story, it looks jagged like it's resizing wrong. What's the deal? Is it a bug in the object or in the resizing option? It's driving me insane.
One thought. Would the overall resolution of the screen have anything to do with this? My laptop is set to 1280*800 (highest res it goes because it's a smaller laptop)
Will MMF not let me set the size to go past 800? Any way I can override it?
After setting the window size try checking via conditions what the vertical size is. If it is indeed 800 report it to clickteam. Also if you are using HWA that might be part of the problem.
UrbanMonk - Good idea. Did a quick counter to compare vertical size and yes it's only 800 instead of 960. Not using HWA, just latest build of MMF2 Dev. I think it's 248?
Adam - I ran your example and it worked! But when I used your exact code in my game, it did the same exact thing and only resized to 800. I even tried running mine in standard instead of DirectX, still did the same.
Nim - I originally thought that also, until Adam's example worked. Not sure now.
Any ideas? This is driving me insane, especailly after the example Adam provided worked fine.
EDIT: something in your "window settings" is preventing the window from resizing properly. Check all of them to find the problem. I'm thinking the "aspect ratio" one.
EDIT2: Actually regarding nim's post, I think that the only way windows can resize a window is IF it is re-sizable manually as well. Try checking "No thick frame" and see if that fixes it.
EDIT: something in your "window settings" is preventing the window from resizing properly. Check all of them to find the problem. I'm thinking the "aspect ratio" one.
EDIT2: Actually regarding nim's post, I think that the only way windows can resize a window is IF it is re-sizable manually as well. Try checking "No thick frame" and see if that fixes it.
Man..so it's a windows thing? I tried switching on/off all the various windows settings...nothing seemed to work. There is no aspect ratio choice in regular MMF just HWA, which I'm not using. I appreciate you checking things out though. I'm just kind of dumbfounded because it seems to work in Adam's example. I guess worst case, people with resolutions lower than 800 vertical will miss out. But I kinda presume the standard resolution for standard monitors is 1280*1024. Probably something similar for widescreens.
You know what...I think I might've been fooled by adam's example, how it keepts the position at x=100. I think it appeared to expand past the screen. But I switched it around to move to 0,0... and it's the same result as what I've been getting. So at least I'm relieved that I"m not crazy BUT...that sucks that it doesn't work.