GamePie - game engine designed to ease creation of cross-platform games.
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
examples/folder to see some examples. Currently it contains
planes.pywhich 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 (
escapequits) 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.
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 :)
@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).
@ShadowSlayer gamepie is looking good! Thanks for sharing it. I'll be digging around and playing with it.
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.
I tried to run the example program, planes.py, and it threw a “no module named gamepie” error. Why is this?
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
@D4NY44L, did you first put the gamepie-ios in your site-packages and rename it to gamepie, as explained in the original post?