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.


    Scene help

    Pythonista
    4
    4
    1775
    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.
    • Bumbo Cactoni
      Bumbo Cactoni last edited by Bumbo Cactoni

      So, I’m trying to use the scene module to make a rectangle that moves up and down with your finger. For example, like that 80s game pong. How would I do that?

      mikael 1 Reply Last reply Reply Quote 0
      • mikael
        mikael @Bumbo Cactoni last edited by

        @Bumbo-Cactoni, maybe try and take what you need from this recent example?

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

          Other games examples...
          https://github.com/Pythonista-Tools/Pythonista-Tools/blob/master/Games.md

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

            https://github.com/encela95dus/ios_pythonista_examples contains some scene examples including the game pong
            (look at the scene section of the readme ).

            From readme:

            scene examples
            animation examples in examples directory
            games examples in examples directory
            basic_nodes.py
            change_attributes.py
            change_positions.py
            update_example.py
            scene_action1,2,3
            textanimation.py
            textanimation_wayy.py
            scene_viewexample.py - scene embedded in a view
            digital_watch.py, stop_watch.py - more examples on update
            action_based_timer.py
            animations from forum
            planet motion https://forum.omz-software.com/topic/3754/show-all-scene-child-nodes
            pendulum motion https://forum.omz-software.com/topic/3312/labelsprite-rotate_by-problem
            https://forum.omz-software.com/topic/4284/how-do-i-make-a-full-screen-button-and-handle-button-down-and-button-up-events/6
            games from forum
            pong https://forum.omz-software.com/topic/3367/drawing-with-pythonistas-modules
            cards https://forum.omz-software.com/topic/4856/can-someone-turn-this-script-into-a-node-tutorial-please
            word game https://forum.omz-software.com/topic/4790/boggle-app-need-help-changing-labels-3x-in-a-function/9
            shader
            shader_example1.py - basic example to run shaders
            template_shadertoy.py - template to run shadertoy examples
            https://www.shadertoy.com/ contains a large collection of shader examples
            from forum
            an introductory online book on shaders to learn shaders
            https://thebookofshaders.com/
            https://forum.omz-software.com/topic/3274/fast-color-change-animation-of-a-shape

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