Skip to content

P4A and C++/SDL2/Python2/OpenGL game #747

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
tobimensch opened this issue May 19, 2016 · 1 comment
Closed

P4A and C++/SDL2/Python2/OpenGL game #747

tobimensch opened this issue May 19, 2016 · 1 comment

Comments

@tobimensch
Copy link

tobimensch commented May 19, 2016

Hello,

I'm trying to port a SDL2/OpenGL game written in C++ that is using libpython for in game scripts to Android.

I don't understand how I can use python-for-android in this scenario.

@inclement
Copy link
Member

Sorry for the delay responding, I didn't see this issue when you first made it. Did you find out what you needed? Overally, it should be sufficient to use the sdl2 bootstrap and add a recipe to run your code. If you can start it with a python script, you can then use that to do so. If it needs a C shim to start, you might need do modify the sdl2 bootstrap; we can help with that if necessary, and if we understand what needs doing can add some options to make it easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants