wasabi2d icon indicating copy to clipboard operation
wasabi2d copied to clipboard

How hard is it to get this working on Android/iOS

Open ntoll opened this issue 4 years ago • 2 comments

Then I can build PyperCard on top of it... ;-)

ntoll avatar Aug 19 '19 15:08 ntoll

I don't know anything about iOS but it isn't out of the question for Android.

Kivy's python-for-android has (unmaintained) support for Pygame on Android, which could probably be picked up and made to work with Pygame 2.0.

ModernGL I think can work with OpenGL ES. I'm not sure if there are any extra steps, like new python-for-android recipes, to make it work on Android.

numpy should just work when compiled for Android, because it's just a maths library; it doesn't interact with the Android system. But that said numpy can use crazy fast maths stuff like BLAS and LAPACK so that's an extra complexity.

Then it's just a case of tweaking the wasabi2d code down to OpenGL ES, which probably involves tweaking some of the shaders and doing without an OpenGL feature I'm using here and there.

Altogether though, that's a load of work, and I personally know very little about Android. I'd rather spend my time building a good game framework and hope that someone else can help with mobile.

lordmauve avatar Aug 19 '19 19:08 lordmauve

@lordmauve 'twas but an idle thought an I quite understand about the work involved. Even using Kivy, the story of getting something to work on Android is involved/painful. BTW, this project looks great..!

ntoll avatar Aug 20 '19 06:08 ntoll