Search Unity

Multiple Window Game

Discussion in 'Editor & General Support' started by WorkAllDay, Jun 9, 2017.

Thread Status:
Not open for further replies.
  1. WorkAllDay

    WorkAllDay

    Joined:
    Jun 9, 2017
    Posts:
    2
    Hi everyone,

    I was wondering if it's possible to have a game which has multiple windows.
    The windows should be able to communicate with each other.

    I have 2 options in my mind:
    1. Two windows on the same application [separated and movable]
    2. Two applications with one window on each. [for using multiple monitors]
    two_wins_one_app.png

    one_win_two_apps.png

    Is this possible to do this using only Unity?
    or maybe the game will be created using unity and the statistics app will be using wpf for example and then I need somehow to create communication between them?

    Thanks in advance,
    Don
     
  2. WorkAllDay

    WorkAllDay

    Joined:
    Jun 9, 2017
    Posts:
    2
    Sorry for double post.

    does anybody has any leads?
    links that talk about this or anything?

    Don
     
  3. M005E

    M005E

    Joined:
    Feb 22, 2016
    Posts:
    1
  4. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,300
    Multiple display mode is for full screen on each display. If you want to have windows then the best approach it to just launch the application separately for each window and have them communicate with each other via some interprocess communication.
     
    Bunny83, sean244 and LiterallyJeff like this.
  5. sean244

    sean244

    Joined:
    Nov 4, 2017
    Posts:
    95
    Any idea how we can do that? Maybe a link to a tutorial covering the subject?
     
  6. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,300
    The simplest thing to do would be to network the clients. https://docs.unity3d.com/Manual/UNet.html
    This way the screens can be on the same machine, multiple machines or even different devices(mobile map etc)
     
    sean244 likes this.
  7. aivo

    aivo

    Joined:
    Feb 13, 2017
    Posts:
    30
    could you elaborate why this isn‘t supported? I think both directX and OpenGL API support multiple render windows, be it in fullscreen mode or windowed mode.
    Peronally, I would love to see this feature (I‘m not a game developer, I‘m working in the field of media architecture).
     
    CloudyVR likes this.
  8. Ewanuk

    Ewanuk

    Joined:
    Jul 9, 2011
    Posts:
    257
  9. Grandtrine

    Grandtrine

    Joined:
    Jul 27, 2018
    Posts:
    10
    hi , is there any update on how we can do this now
     
  10. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,300
    No, the multiple display system has not changed. You can not have multiple windows for 1 application.
     
    choigw and Grandtrine like this.
Thread Status:
Not open for further replies.