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.


    GamePie - game engine designed to ease creation of cross-platform games.

    Pythonista
    6
    8
    7301
    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.
    • JadedTuna
      JadedTuna last edited by

      I finally made something that works! :)

      GamePie allows you to create games which can be ran on many platforms. The project was created to allow creation of cross-platform games - those that can run on both iOS devices and PCs. It's licensed under zlib license.

      Git repository is here: https://github.com/Vik2015/gamepie. For PC you need gamepie-pc/ and for iOS - gamepie-ios/. Just put it in the site-packages folder and rename to gamepie.

      Check examples/ folder to see some examples. Currently it contains planes.py which is a shooting game where you control the player and your goal is to shoot down as many enemy planes as possible. Player can be controlled via keyboard on PC (left/a and right/d keys, space shoots, escape quits) and mouse/touches on PC and iOS. Nothing fancy :)

      If you have any ideas about what can I add to it please post them here.

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

        I havent played around with this yet, but I took a look at the example and I think that it looky tidy. Seems like a nice interface to use for graphics :) Especially that it can be used on PC :)

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

          @Moe, thanks, cross-platform support was the intention :). Btw, the library also automatically converts Pythonista coordinates ([0, 0] is bottom-left) to PyGame coordinates ([0, 0] is upper-left).

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

            @ShadowSlayer gamepie is looking good! Thanks for sharing it. I'll be digging around and playing with it.

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

              Gonna advertise GamePie some more :)

              Here is a video of a game I am working on (PieRPG): https://www.youtube.com/watch?v=N3cKMUwPd_g.
              It uses GamePie as game engine and runs fine on Linux and iOS.

              P. S. Incase anybody wants to take a look at the code it is here: https://github.com/Vik2015/pierpg. Please note that PieRPG is using a dev version of GamePie (0.2) which is not available yet.

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

                I tried to run the example program, planes.py, and it threw a “no module named gamepie” error. Why is this?

                mikael 1 Reply Last reply Reply Quote 0
                • JonB
                  JonB last edited by

                  Place the gamepie-ios folder in site-packages, (except rename as gamepie). You can import files in the same folder as your main script, or else in site-packages, or a path you explicitly add to sys.path

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

                    @D4NY44L, did you first put the gamepie-ios in your site-packages and rename it to gamepie, as explained in the original post?

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