When running a game, there's no way to ever restart it without closing the entire program. This means for testing gameplay, it becomes a tedius process of run console, load game, start game, test, close console, run console, load game, start game, test etc etc.
It would be nice if there was a reset button, which when pressed resets the current game to the initial state. This shouldn't prompt the user to open another game, but instead just restart the current one.
I think this could be done via messing around with the wasmtime stuff, or by potentially initialzing a whole new WasmConsole. I think the new console technique will be the most bug-free, but it also has the highest performance cost, so it would be better to find an alternative. Bonus points if it can also work over the network state too!
When running a game, there's no way to ever restart it without closing the entire program. This means for testing gameplay, it becomes a tedius process of run console, load game, start game, test, close console, run console, load game, start game, test etc etc.
It would be nice if there was a reset button, which when pressed resets the current game to the initial state. This shouldn't prompt the user to open another game, but instead just restart the current one.
I think this could be done via messing around with the
wasmtime
stuff, or by potentially initialzing a whole newWasmConsole.
I think the new console technique will be the most bug-free, but it also has the highest performance cost, so it would be better to find an alternative. Bonus points if it can also work over the network state too!