Announcement

Collapse
No announcement yet.

Scaleform resize broken on setres

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • replied
    you are wrong sir remove that and replace it with
    Code:
    SetViewScaleMode(SM_ExactFit);
    SetAlignment(Align_Center);
    And Other Adjustments to try
    Code:
    enum GFxScaleMode
    {
        SM_NoScale,
        SM_ShowAll,
        SM_ExactFit,
        SM_NoBorder
    };
    Code:
    enum GFxAlign
    {
        Align_Center,
        Align_TopCenter,
        Align_BottomCenter,
        Align_CenterLeft,
        Align_CenterRight,
        Align_TopLeft,
        Align_TopRight,
        Align_BottomLeft,
        Align_BottomRight
    };

    Leave a comment:


  • replied
    So I ended up finding a fix for this. In case anybody is curious, you just have to close and start the player. I guess this isn't handled by the UDK automatically anymore.

    Code:
    ConsoleCommand("setres" @ Resolution);
    Close(false);
    Start(false);

    Leave a comment:


  • started a topic Scaleform resize broken on setres

    Scaleform resize broken on setres

    I created a working scaleform front end that includes changing resolution and other stuff.

    Since I switched to the March UDK from December, I have noticed that scaleform resizing does not work. When switching to a higher resolution using 'setres', my menu will align topleft and remain at the previous size (leaving a noticeable empty portion of the screen). When switching to a lower resolution, the menu will disappear altogether!

    I can use the exact same movieplayer code and swf on the December UDK to achieve the desired behaviour, where the menu aligns center and scales according to window size. I have tried to find where the problem lies, but have been unsuccessful so far. Has anybody else noticed this, and if so, are you aware of a fix besides rolling back to a previous UDK?

    Here is what I would see after resizing from 1024x768 to 1440x900:
    [SHOT]http://img340.imageshack.us/img340/3425/menugu.jpg[/SHOT]

    P.S. I probably I should have posted this in support. Sorry!
Working...
X