Answer the question
In order to leave comments, you need to log in
How to import pygame on android?
I have been studying Pygame for literally 2 weeks, and having created a simple game, I want to compile it for android. But after a long and very extensive googling, I did not find an official solution to this problem (all options were either self-written modules, or almost a complete redesign of the code in Kivy). Can anyone in the know suggest the most rational way out?
Answer the question
In order to leave comments, you need to log in
Unfortunately, Python can't do that. (by the way, it does not compile, but interprets)
What? As much as possible). Buildozer to the rescue (building is no different from a regular kivy application, only buildozer.spec has different dependencies). There are a lot of examples and guides on buildozer on the Internet and here is one example of a pygame game on android (the assembly takes place in GitHub CI)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question