The cythonized fixpoint library finally builds and installs correctly on Android! I had to shuffle around the source files a good bit, and separated the engine from the demo app completely.
The old repository only contains the actual library now, with the movers, viewers and helpers moved up one level to the same as the main library. There is also a py4a recipe for yapyg that has to be copied into the python-for-android recipe folder so a distribution can be built easily. Installation on PC is done with the setup.py script.
The demo is now a separate repository at https://github.com/rkibria/yapygdemo. For those interested, the Android APK is here. With the natively compiled fixpoint library the bounce demo runs about half as fast on Android as on the PC, next target for Cython will be the big bottleneck, collisions.
No comments:
Post a Comment