Run pygame-ce games on iPhones and iPads easily.
Project description
pygame-ios
Run pygame-ce games on iPhones and iPads easily.
This package contains a simple CLI tool that downloads a template from pygame-ios-templates and adds your game files to it. After that you can run the Xcode project and see your pygame-ce game on your device or simulator of choice.
Usage
Assuming you have Python 3, run this to install the package:
pip install pygame-ios
This gives you a command you can run with one of the following:
pygame-ios
python -m pygame-ios
This command needs arguments. You need to provide a location for your project folder where your files will be copied from, as well as an entry point script which will be renamed to __main__.py and used as the entry point in Xcode.
Example usage:
pygame-ios . game.py # copies files from current folder, uses game.py as the entry point script
After running this command, an Xcode project will be downloaded. You can open this project in Xcode and run it on a device or simulator.
To update your Xcode project with new files or changes, just run the command again. The download step is skipped and your files are copied, overwriting previous files.
Other Arguments
You can also specify a pygame-ce version:
pygame-ios . game.py 2.5.5 # fetches the v2.5.5 version of the template
Without this argument, the command will download the latest template available. But you can specify a pygame-ce version in case you need something different from the latest stable. Not all pygame-ce versions are supported, see here for supported versions, and see the repository README for details on how to make your own.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pygame_ios-0.0.1.tar.gz.
File metadata
- Download URL: pygame_ios-0.0.1.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56d775e7e09fb69f5e4edd665068d3247f53824e84029e2cb6efda392d816a58
|
|
| MD5 |
cb23c630ce324b23d03d7ad8c5049c78
|
|
| BLAKE2b-256 |
2073fc86b5e0e03b67902887cc92db3346d340383e5ce80c32deeb8e20370304
|
File details
Details for the file pygame_ios-0.0.1-py3-none-any.whl.
File metadata
- Download URL: pygame_ios-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3cd9a78ffdccea96137d52a7ea2bf6bda6c36311c789cf489ca2244cdb20167e
|
|
| MD5 |
6a88c50ddd580df7eabae3fc8f45cf09
|
|
| BLAKE2b-256 |
525fd46be97c34a6bec4f2302069c181991d5bef8a25fe60711012122ea800ae
|