User Tag List

Results 1 to 2 of 2

Thread: Resize frame to match screen size pixel-wize

  1. #1

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleXNA Export ModuleFirefly 3D Module
    Fusion 2.5 (Steam)

    Join Date
    Sep 2018
    0 Post(s)
    0 Thread(s)

    Question Resize frame to match screen size pixel-wize

    Hi guys,

    I'm probably just missing something simple.

    I see a lot of things that do something, but not sure it is quite what I'm looking for.

    I want to update the size of the frame to match the screen.

    So instead of the frame having 640x480 it would change to the resolution pixel-wise of the screen.

    So if I had a 64x48 object I still want it to be that size even on a make larger resolution screen.
    Instead I should be able to fill the screen with more and more objects.

    Thanks so much for any help you can give!

  2. #2
    Clicker Fusion 2.5Fusion 2.5 Mac
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    zip2kx's Avatar
    Join Date
    Jun 2015
    18 Post(s)
    0 Thread(s)
    You can use Window Control object to scale your resolution pixel precise.

    Start of Frame
    Window Control : Set horizontal size to ( 640 * windowScale ) + ( WinXSize( "Window Control" ) - ClientWidth( "Window Control" ) )
    Window Control : Set vertical size to ( 360 * windowScale ) + ( WinYSize( "Window Control" ) - ClientHeight( "Window Control" ) )

    windowScale is the amount you want to multiply your window, so 640*2=1280 width, the rest of the events are to compensate for the pixels in the window itself so it scales pixel precise.

Similar Threads

  1. Replies: 1
    Last Post: 1st December 2015, 10:53 AM
  2. game screen to match frame size
    By DemonD in forum Fusion 2.5
    Replies: 2
    Last Post: 5th October 2014, 02:37 PM
  3. Replies: 3
    Last Post: 25th January 2014, 12:43 AM
  4. Resize display to fill window size - by frame?
    By teddyq in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 22nd March 2008, 11:21 PM

Posting Permissions

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