Forum rules - please read before posting.

Scrolling Document/Window Scale problem

I'm working on a pixel style game, in 480/270 resolution.

I implemented a scrolling document into one of my menu's. It works in a way that it appears over around 1 third of the screen and can be scrolled vertically up and down to a limit. There is no horizontal movement which is the way I want it.

Whenever I build the game and run it in a higher resolution (1920/1080), the menu elements incl. the document stay the same size (they do not grow in size like the in game sprites). This means that I can pick and drag the document across the screen and it is much smaller than I want it to be.

The same problem applies to interaction icons, they do not scale with the rest of the game.

Is there any way to solve this problem?

Cheers,
Exile

Comments

  • If you are using Unity UI, to get the menus to scale with the rest of the game you need to make sure the Canvas has the Canvas Scaler component attached to it with, and the settings something like:

    Ui Scale Mode: Scale With Screen Size
    Reference Resolution: X: 480 Y: 270
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.