So. I was creating a GB-like game for LIJI's gb compo, and I wanted to test how does it look on fullscreen. Actually it looked really neat, but then I noticed a major bug: The Sub-applications didn't resize along the other game. Here's an example:
So, there's the map in the top-left corner. As you see, the other game's fullscreen & resized, but the Sub application isn't somehow. Although the map can look nice in that example, it's a serious problem because I want the WHOLE game to be fullscreen, it also looks stupid when talk to someone and the talking engine is in a sub-application. That game has been done in MMF 1, but I guess there's the same problem with MMF 2. Any help?
Hmmm, I think I used to have a similar problem, which I solved using the window control object (or something like that). Can't really tell, since I dont have MMF installed atm.
But what method did you use to make it fullscreen? You might save a lot of trouble by changing the resolution, instead of stretching the window.
What are you talking about Bibin? I don't need any tips about the game itself, just help for this problem! And I know that Sub-App can do things that GB can't, but I'm not going to do them.
-_- I see you didn't read my post at all.
No sig for you.
DaVince This fool just HAD to have a custom rating
Registered 04/09/2004
Points 7998
22nd May, 2007 at 10:28:24 -
I see what you're trying to do... Zoom in the content of the subapp, right? So it shows a minimap of the current room or something.
Some objects have problems zooming in when resizing the app. For example, the edit object, buttons, and subapps. There is no fix, better find a different way to make this.
I had this problem with my game. It's even harder to fix if you have options for custom resolutions and aspect ratios. The absolute simpliest solution is to set aside 2 global values for the original windows X and Y (and sometimes, position too). As the subapp loads make sure the first event (or start of frame, woteva) sets the dimensions to global events you stored.
I'm trying to do that the subapp resizes to the same resolution as the game. In the example pic the subapp is in bigger resolution than the other game.
Edited by the Author.
No sig for you.
DaVince This fool just HAD to have a custom rating
Registered 04/09/2004
Points 7998
23rd May, 2007 at 07:16:09 -
Yeah, that's what I said. Edit box etc. has problems with that too (the font doesn't resize, for example, and the borders).