jsgoller1 / sprawl

2D Game Engine
GNU General Public License v3.0
0 stars 0 forks source link

REPL Console #25

Open jsgoller1 opened 1 year ago

jsgoller1 commented 1 year ago

Many games have a console you can pull up with tilde or similar and enter commands to the engine for modifying settings, spawning/removing characters, etc. We should have this too; threaded REPL with very simple commands for adding, removing, moving, etc game objects.

In the main game loop, we will want to read from the interpreter's queue as we do from the input manager.

jsgoller1 commented 1 year ago

https://github.com/blueloveTH/pocketpy looks like a way to use Python for this.