G
G
Grigory Shurygin2022-01-13 22:17:04
pygame
Grigory Shurygin, 2022-01-13 22:17:04

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

2 answer(s)
M
Mikhail Evseev, 2022-01-13
@avrio

Unfortunately, Python can't do that. (by the way, it does not compile, but interprets)

Y
YariKartoshe4ka, 2022-02-24
@YariKartoshe4ka

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 question

Ask a Question

731 491 924 answers to any question