You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This problem can only reproduce on real android phone, e.g. ASUS zonefone 2. It can't reproduce on android emulator. I make MyGame and port to android by python script on https://github.com/renpytom/rapt-pygame-example.
MyGame had below code:
for event in pygame.event.get():
if event.type == QUIT:
exit()
elif ...
I find pygame.event.get() may make android phone crash by steps below:
Open MyGame app.
Tap cell phone screen many times.
MyGame app will closed if it's crash.
Since I replace pygame.event.get() with code below: event = pygame.event.wait()
Then MyGame app won't crash, I suspect there is a bug in pygame.event.get() and it should be critical.
The text was updated successfully, but these errors were encountered:
This problem can only reproduce on real android phone, e.g. ASUS zonefone 2. It can't reproduce on android emulator. I make MyGame and port to android by python script on https://github.com/renpytom/rapt-pygame-example.
MyGame had below code:
I find pygame.event.get() may make android phone crash by steps below:
Since I replace pygame.event.get() with code below:
event = pygame.event.wait()
Then MyGame app won't crash, I suspect there is a bug in pygame.event.get() and it should be critical.
The text was updated successfully, but these errors were encountered: