Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Text adventure on interactive in-game screen?

Discussion in 'General Graphics' started by VladiPHD, Nov 6, 2017.

  1. VladiPHD

    VladiPHD

    Joined:
    Jul 9, 2017
    Posts:
    1
    Hi there, I'm fairly new to Unity and currently going though the "Creating a Text Adventure" training on YouTube.

    Is there a simple (or not so simple) way to display that text adventure on a computer screen inside of a 3D scene? Something similar to the Stories Untold game that came out this year?

    Or does something like that require scripting the actual game in a totally different way? If so, how was that done?

    Any insights would be much appreciated! Thanks!
     
  2. Stardog

    Stardog

    Joined:
    Jun 28, 2010
    Posts:
    1,910
    That should be easy. Just change your Canvas to World Space, then scale it down, and move it to where you want the screen to be...
     
    fromkyoto likes this.
  3. bgolus

    bgolus

    Joined:
    Dec 7, 2012
    Posts:
    12,329
    The way something like Stories Untold works is by setting up a second camera and using layers so that the camera can only see the layer the UI is on, and then excluding that layer from the 3d view. Then you make a render texture asset and assign it as that UI camera’s target. You can then use that render texture asset as a texture for the material you put on the computer.
     
    Eristen, fromkyoto and URPian like this.
  4. Eristen

    Eristen

    Joined:
    Jun 17, 2021
    Posts:
    17
    Awesome, thanks