Results 1 to 11 of 11
  1.    #1  
    FirstAssistant.prototype.handleButtonPress = function(event){



    this.controller.pushScene('first');

    }

    Not work? Can you not have a scene PUSH in a scene?
  2. #2  
    Yes you can. However, it seems like you're just pushing the scene itself by itself. That doesn't make sense. Hence why it won't work.

    Have it push "second" or any other scene, besides itself.
  3.    #3  
    Yes, I have tried.

    FirstAssistant.prototype.handleButtonPress = function(event){



    this.controller.pushScene('tools');
    }

    Doesnt work
  4.    #4  
    Note, I Do have a scene named tools
  5. #5  
    There are lots of things I can think of that might be a bit off. Have you updated your sources.json and associated the 'tools' scene with the 'tools' assistant?
  6. #6  
    In theory, even pushing a scene within the scene itself does work. You just end up with a stack of copies of the same scene
  7. #7  
    Well, I tried it (because I wanted it to refresh)... actually... I think you're right. It opened up another copy of the same scene on top. Either way, it's not good practice.

    And yeah, make sure you have your scenes all listed in your sources.json. As well as all the naming conventions for the directory and the files itself.
  8.    #8  
    Switch Scenes then?
  9. #9  
    this.controller.stageController.pushScene(blblablab)
  10. #10  
    Holy jebus! This answers why the tutorial program won't work! There is no sources.json in the tutorial program!

    Thanks!
  11. #11  
    Quote Originally Posted by caferacer View Post
    Holy jebus! This answers why the tutorial program won't work! There is no sources.json in the tutorial program!

    Thanks!
    hahaha REALLY?

    I didn't even notice that. Interesting.

    Anywho, you should try to use my tutorial here.

    My sample Hello World does have a sources.json. haha.

    It also exemplifies pushing more scenes and a couple widgets and such.

    That might be a bit more useful to you?

Posting Permissions