Hi everyone! I’m excited to be participating in the Google Summer of Code over these next few months, and am even more excited about the project: an iOS port!
David Rose had implemented the beginnings of supporting the iPhone back in 2012, but it was soon discovered that Apple’s policy on interpreted languages would prevent apps utilizing Python from being submitted to the app store. This led to the languishing of the project, and no progress has been made for the last several years. Thankfully, Apple has loosened its restrictions since then, so it is now feasible for Panda games made completely in Python to be submitted to the App Store.
The full proposal can be found here, which details the goals of the project along with a timeline for completion.
For this first week, I will be getting the cross-compilation toolchain up and running for Panda’s thirdparty libraries, based off of @rdb’s panda3d-thirdparty CMake script. I’d also like to get a CI pipeline for this repository up and running at some point.
I will be posting updates here frequently, so stay tuned!
Testing the port
The port is now in a usable enough state for other people to begin testing their applications with it.
What does not work:
- Shader generator; this is not iOS specific, since we do not have a working generator for GLSL.
- Device sensors such as gyro and accelerometer.
- 3D touch; this should be easy to add with the coming multitouch changes.
There is a new setuptools command called
makexcodeproj that will create an Xcode project for testing. It is very unfinished and will not work with many configurations, but should work fine for simple stuff. There is no documentation yet, review the source code for more information.