[SOLVED] How to keep web game content in center

How make do you guys keep game in center of screen in web builds? with background image in background.

EDIT: misleading information

If you use a camera component you can set the Orthographic Mode to Auto Cover:

Not quite what i meant, here is original game, if you enable developer mode F12, and try resize window size all content nicely fits into center of screen

You did not mention anything about scaling gui to cover the view…

Looking at the video it seems like the background is using a repeating texture. This can be achieved like in this example: Repeating Background

here’s solution

1 Like