Input and print in console, plus app arguments

About Monkey 2 Forums Monkey 2 Programming Help Input and print in console, plus app arguments

This topic contains 0 replies, has 1 voice, and was last updated by  Tibit 2 years, 8 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #2947

    Tibit
    Participant

    Hi,

    I am not finding this in the docs. Print seems to be missing too there?

    I wanted to start simple and test things in a console – is there any way to do a quick compile to a just a console? Right now I get “print” output in Ted but none if I run from the command prompt directly, why?

    How do I go about getting input in the console back into the game?

    Local name:= Input(“Enter you name”)

    I assume app arguments are the way to get initial settings into the app. The other was is to load a .json with settings. I just found it easier to have a “compile flag” where I can add “-level 5” while in debugmode and then the game starts at level 5. I see tons of use cases for this.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.