omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular
    1. Home
    2. mirko

    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.


    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 6
    • Best 0
    • Controversial 0
    • Groups 0

    mirko

    @mirko

    0
    Reputation
    462
    Profile views
    6
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    mirko Unfollow Follow

    Latest posts made by mirko

    • a quick Xcode/background question

      Hello,

      I have a game which I created with Pythonista.
      I'd like to pimp it a little by adding a logo and a background.
      Where do I put the files in the Xcode project?
      How do I access them from the Pythonista script (I got lots of "File not found" errors)?
      How do I display the background picture below my root layer?
      How do I display my logo above the top layer?

      Sorry but this is not in the doc and no example could provide me with an answer.

      posted in Pythonista
      mirko
      mirko
    • RE: Chaining scene.Scenes

      Thank you, but how would you properly loop a scene?
      I mean properly deallocate whatever was allocated and "reboot" it?

      posted in Pythonista
      mirko
      mirko
    • What is the proper way to reset a scene?

      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?

      posted in Pythonista
      mirko
      mirko
    • RE: What is the proper way to reset a scene?

      Thanks, I'll check that out.

      posted in Pythonista
      mirko
      mirko
    • I've got a very strange TypeError when invoking update (self.dt)

      Hello there

      The following as been verbatim copied from the Cards.py example:

      self.root_layer.update(self.dt)
      self.root_layer.draw()
      

      Since a moment, I get a lot of TypeError which point to the 1st line.
      Sounds like update is sometime seen as a Boolean which cannot been invoked as a function.

      If I put it in a try: / except TypError: block, it's okay, but ugly.

      I thought I'd share that as a bug report.

      posted in Pythonista
      mirko
      mirko
    • RE: I've got a very strange TypeError when invoking update (self.dt)

      Hello

      Thanks for your answer.

      I just checked: no.
      I have 2 methods called update_something() but no variable named so.

      I must say I have a lot of trouble understanding the TextLayer from the examples: it could be nice to have a nice tutorial among the examples.

      I'd also like to know why layers I remove remain on screen?

      posted in Pythonista
      mirko
      mirko