"How to prevent game from restarting on screen size change in Forge2D?" #77
ivanrodriguezromero1
started this conversation in
General
Replies: 1 comment 1 reply
-
Hi, use |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm developing a game using the Forge2D game engine in Flutter, but every time the screen size changes (e.g. rotating the device), the game restarts from the beginning. I would like to prevent this behavior and instead maintain the current state of the game across screen size changes. How can I accomplish this? I've tried implementing the resize method and using a Viewport widget, but I'm still experiencing the issue. Any help or guidance would be greatly appreciated. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions