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

javascript text output question

Discussion in 'Scripting' started by kalacia, Apr 25, 2015.

  1. kalacia

    kalacia

    Joined:
    Apr 25, 2015
    Posts:
    7
    Hello,

    Im looking to make a game based on running a kingdom. Its main way of interacting will be via text, implementing policies etc... so not much in the way of real time graphics. Although i do intend to have some snazzy images eventually, im still in the reading the manual and trying to understand what i can use what i have read for.

    My question is, how would i get my javascript to output to a textbox or graphic on screen? as thats the main thing the game will be doing.. Input from a user, do some maths in the JS and then output to the user for the next turn.

    (Sorry if im missing something somewhere)
     
  2. krougeau

    krougeau

    Joined:
    Jul 1, 2012
    Posts:
    451