What happened?
Clicking Run Game from the editor starts the core game loop on the same thread as the Tkinter editor, which causes the editor window to freeze or become unresponsive while the game is running.
Version
ABS Engine 0.1.3
Steps to reproduce
- Open ABS Engine.
- Open or create a project.
- Click Run Game in the editor.
- Observe that the editor GUI stops responding until the game loop exits.
Expected behavior
The editor GUI should remain responsive while the game is running, or the game should run in a separate process/thread/event loop that does not block the editor.
Relevant code
run_game() in engine/gui.py directly calls self.core_game.run(), and the main loop in engine/core/__init__.py is a blocking while self.running loop.
Environment
Windows / Linux / macOS
What happened?
Clicking Run Game from the editor starts the core game loop on the same thread as the Tkinter editor, which causes the editor window to freeze or become unresponsive while the game is running.
Version
ABS Engine
0.1.3Steps to reproduce
Expected behavior
The editor GUI should remain responsive while the game is running, or the game should run in a separate process/thread/event loop that does not block the editor.
Relevant code
run_game()inengine/gui.pydirectly callsself.core_game.run(), and the main loop inengine/core/__init__.pyis a blockingwhile self.runningloop.Environment
Windows / Linux / macOS