Search Unity

Question How do I get a game built for mobile to play on desktop

Discussion in 'Getting Started' started by myceliumNet, Jan 12, 2023.

  1. myceliumNet

    myceliumNet

    Joined:
    Jan 10, 2023
    Posts:
    9
    Hello! This is the first game I've ever tried to make and currently I'm trying to build the game so that I can play it on desktop. However, the scenes for the game are designed for mobile. Right now whenever I build it and play it on my desktop it just shows a really zoomed in view of the middle of the screen to fit the different display ratio. What kind of settings would I change for the game to be able to be played on desktop? Basically with the scene in full view but there won't be anything on the sides. Thank you very much if you can help!
     
  2. AngryProgrammer

    AngryProgrammer

    Joined:
    Jun 4, 2019
    Posts:
    490
    There is no magic conversion button. The view of the game is determined by its design, and the main methods to change this are to learn how to manipulate the camera object (all game objects) and the canvas (UI elements). Not to mention the scale of the objects (each referred to as a separate object).

    The fact that you can create a game for different platforms does not mean that Unity will plan the layout for the developer.
     
    Last edited: Jan 13, 2023