omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    What is the proper way to reset a scene?

    Pythonista
    2
    3
    1830
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mirko
      mirko last edited by

      So I am working upon this game and I am currently handling the end of the game.

      The problem is that after resetting the scene, a new game indeed starts but I can still see the previous game animation playing in the background.

      Even if I try to kill any animations from all the frames before individually nullifying them it still appears...

      Is there some way a comprehensive scene programming guide?

      1 Reply Last reply Reply Quote 0
      • ccc
        ccc last edited by

        You might want to look at MultiScene... http://omz-forums.appspot.com/pythonista/post/5293956959043584

        The bottom line is that you can only call scene.run() once in your program. MultiScene is the best way around this constraint. Search the forum on MultiScene for details.

        1 Reply Last reply Reply Quote 0
        • mirko
          mirko last edited by

          Thanks, I'll check that out.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB Forums | Contributors