User Tag List

Results 1 to 7 of 7

Thread: Maintaining screen size resolution

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCSWF Export Module
    N64Mario's Avatar
    Join Date
    Nov 2008
    Location
    USA
    Posts
    1,308
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)

    Maintaining screen size resolution

    Say for example, I have a game engine set for 256x224. The level/engine frame has a larger width & height, while the window is maintained at 256x224.
    How can I stretch the game window size bigger to 512x448, and still have the option to change to to full screen without any graphic distortions at full screen?

  2. #2
    No Products Registered

    Join Date
    Oct 2009
    Posts
    480
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Maintaining screen size resolution

    Hi,

    I don't know if it is possible to maintain a large full screen with no graphic distortions at that small of a screen size. I would suggest making a "mirror world" that does everything that happens in the smaller screen and has a higher resolution, except when it is switched to full screen use the "mirror world" and vice versa.

    -Variant

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCSWF Export Module
    N64Mario's Avatar
    Join Date
    Nov 2008
    Location
    USA
    Posts
    1,308
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)

    Re: Maintaining screen size resolution

    Well.... I did some testing with the window control object. Though I would imagine the new size given for the window control object would be different depending what desktop theme the player was using.

    Though I remember someone making an example similar to what I had in mind of what I want to do, but I'm not sure if if I can find it again. Or if it's the right setup.

    Anyway, I don't think there is a condition that checks if the player switches from full screen or to window mode to begin with, as far as I know.

  4. #4
    No Products Registered

    Join Date
    Oct 2009
    Posts
    480
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Maintaining screen size resolution

    Quote Originally Posted by N64Mario
    Well.... I did some testing with the window control object. Though I would imagine the new size given for the window control object would be different depending what desktop theme the player was using.

    Though I remember someone making an example similar to what I had in mind of what I want to do, but I'm not sure if if I can find it again. Or if it's the right setup.

    Anyway, I don't think there is a condition that checks if the player switches from full screen or to window mode to begin with, as far as I know.
    As for that you could just use an alterable value (X=1, on; X=2, off). And did you try the "mirror world" thing it sounds complex but it should work.

    -Variant

  5. #5
    Clicker Multimedia Fusion 2

    Join Date
    Oct 2009
    Posts
    53
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Maintaining screen size resolution

    You're right about the window size being different depending on theme. There is a way around that though.

    The easiest way would be to set the default window size to two alterable values (ValueX and ValueY) at the start of frame. Those are the sizes that change depending on theme.

    + Start of frame:
    - Set ValueX to WinXSize( "Window Control" )
    - Set ValueY to WinYSize( "Window Control" )

    256x224 is the constant resolution here, so it makes everything easier. For a 512x448 display, you'd want.

    Set horizontal size: (ValueX*2)-(ValueX-256)
    Set vertical size: (ValueY*2)-(ValueY-224)

    As for the fullscreen. Is the one you're looking for the same as the one in Nivram's examples site?

  6. #6
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCSWF Export Module
    N64Mario's Avatar
    Join Date
    Nov 2008
    Location
    USA
    Posts
    1,308
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)

    Re: Maintaining screen size resolution

    Quote Originally Posted by GameDragon
    You're right about the window size being different depending on theme. There is a way around that though.

    The easiest way would be to set the default window size to two alterable values (ValueX and ValueY) at the start of frame. Those are the sizes that change depending on theme.

    + Start of frame:
    - Set ValueX to WinXSize( "Window Control" )
    - Set ValueY to WinYSize( "Window Control" )

    256x224 is the constant resolution here, so it makes everything easier. For a 512x448 display, you'd want.

    Set horizontal size: (ValueX*2)-(ValueX-256)
    Set vertical size: (ValueY*2)-(ValueY-224)
    Though in any case, after I do that save value method due to the themes and resize, what about for the vitalize build version? Since the Vitalize online build doesn't run in a window, but a screen of itself, wouldn't this method give a completely different result?


    Quote Originally Posted by GameDragon
    As for the fullscreen. Is the one you're looking for the same as the one in Nivram's examples site?
    Maybe that is what I was thinking of. Nivram's example. X_X

  7. #7
    Clicker Multimedia Fusion 2

    Join Date
    Oct 2009
    Posts
    53
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Maintaining screen size resolution

    That's a good point. You're likely right, though I haven't used Vitalize before.

Similar Threads

  1. [Bug] Window size after resolution change
    By Gustav in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 24th June 2008, 04:24 PM
  2. Maintaining size of other windows
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 23rd August 2007, 03:35 PM
  3. Screen size and sub-apps size?
    By Rushino in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 3rd July 2006, 12:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •