Results 1 to 3 of 3
  1.    #1  
    How would I get variables from another scene and use them? Example code would be greatly appreciated
  2. #2  
    args = {
    param1: this.param1,
    param2: this.param2,
    param3, this.param3
    };
    this.controller.stageController.pushScene("nextScene", args);

    So, populating args with all the parameters that you want and then passing args in the pushScene command.

    In the 'nextScene' you do the following:

    function nextSceneAssistant(args) {
    this.param1 = args.param1;
    this.param2 = args.param2;
    this.param3 = args.param3;
    }
  3.    #3  
    Thank you

Posting Permissions