Skip to content
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

Pygame recipe (sdl confusion) #2342

Closed
SonofPoseidon1982 opened this issue Oct 21, 2020 · 1 comment
Closed

Pygame recipe (sdl confusion) #2342

SonofPoseidon1982 opened this issue Oct 21, 2020 · 1 comment

Comments

@SonofPoseidon1982
Copy link

SonofPoseidon1982 commented Oct 21, 2020

I have used the pygame recipe and everything works fine.. however I need to implement methods for when the app enters the background and foreground on android. At the moment, the surface freezes when the game goes into the background on android, which is not satisfactory. What happened to the methods 'pygame.APP_WILLENTERBACKGROUND' and 'pygame.APP_DIDENTERFOREGROUND'? I'm getting the error " module 'pygame' has no attribute 'APP_DIDENTERFOREGROUND'", Were they not included in the recipe? Surely there must be a method for pausing/suspending the app when it goes into the background. Any help would be appreciated,

Dr Nicholas Loizou

@SonofPoseidon1982
Copy link
Author

Its ok, I sorted it

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

1 participant