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

Request: Don't dispose a GameScreen when Loading another so that a "background" screen can still be in the Update-Loop #958

Open
Mephisztoe opened this issue Oct 19, 2024 · 0 comments

Comments

@Mephisztoe
Copy link

Sometimes, it makes sense to update whatever happens within a GameScreen, even if you leave it. GameScreens can be used not only to have a LoadingScreen, a MenuScreen, a MainScreen, a HighScoreScreen, etc... but also within an RPG Game for instance to create different Rooms. However, when leaving one Room, it could make sense to have another room still be updated in the background.

I am aware of the fact that this might lead to other issues (such as memory consumption and the question about which GameScreens to leave intact and which to dispose), but this is something the developer mus understand and be aware of.

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

No branches or pull requests

2 participants