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.


    Image help

    Pythonista
    3
    4
    2655
    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.
    • Dalorbi39
      Dalorbi39 last edited by

      Okay i started devoting time to start learning how to use the pythonista modules and was wondering how would you go about loading up an image and displaying it.

      If you have time could you make it rotate when the user touches the screen so i can see how to apply effects

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

        https://gist.github.com/a066691269d63ddc0d4c

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

          lol @C0deH4cker, i forgot about the examples. Just had one of those moments i suppose

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

            Thanks for the basic example, CH. What's interesting is that,at first sight, it looks like every time u touch it will rotate 90deg:
            ......self.layer.animate('rotation', self.layer.rotation + 90)......
            And indeed it does if u touch once every second etc.

            But touch twice quickly, and this doesn't happen. It only gets part-way thru the rotation, then rotates again
            guess the 'touch-ended' bit would need to do a check to see the 90deg had completed somehow

            Just saying even something simple gets complicated! :-/

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