gamercade-io / gamercade_console

A Neo-Retro Fantasy Console. Make WASM-powered, networked multiplayer games.
https://gamercade.io
Apache License 2.0
166 stars 10 forks source link

Console: Add Cli Arguments to Speed Up Workflow & Testing #12

Closed RobDavenport closed 1 year ago

RobDavenport commented 1 year ago

Related to: https://github.com/gamercade-io/gamercade_console/issues/30 https://github.com/gamercade-io/gamercade_console/issues/26

Currently, the flow to test a game from a completely cold start is as follows.

  1. Compile and build your output .wasm
  2. Run the editor
  3. File -> Open. Open the editor file.
  4. Game -> Export Game Rom.
  5. Find the output .wasm from previous steps.
  6. Export the game rom.
  7. Open the Console
  8. Load the Game
  9. Press Start Game

Now it can be sped up slightly if you have a few things set up first:

  1. Compile and build your output .wasm
  2. (Editor already open, .wasm file path already saved). Game -> Export Game Rom
  3. Open the Console
  4. Load game and press start.

But both methods involve a lot of tedious steps and moving between multiple programs.

It would be nice if we could do something like pass in the game file location, designate that it's a local game session, and launch the console with those things already prepared.