Search Unity

Game with one resolution

Discussion in 'Editor & General Support' started by DJVDJV, Jan 12, 2020.

  1. DJVDJV

    DJVDJV

    Joined:
    Sep 11, 2014
    Posts:
    70
    Hi.
    I want make game with one resolution (Like 1920x1080)... But it should be resizeable / full screen.
    How I can make this.. Just make window resizeable?? Is there things I should know? Or should I support multiple resoultion.
    Game is 2d.
     
  2. DJVDJV

    DJVDJV

    Joined:
    Sep 11, 2014
    Posts:
    70
    Just wondering things like UI
     
  3. powersupersport

    powersupersport

    Joined:
    Aug 31, 2015
    Posts:
    13
    I'd assume that what you actually want is the UI to use 1920x1080 as a base resolution and look the same on all screen sizes. You can do that by changing the UI Scale Mode option of the Canvas Scaler sitting on your parent canvas to "Scale With Screen Size". You will be asked for the reference resolution.

    https://docs.unity3d.com/Manual/script-CanvasScaler.html
     
    DJVDJV likes this.