gamercade-io / gamercade_console

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

Editor: Add Cli Arguments to Speed Up Workflow #30

Closed RobDavenport closed 2 years ago

RobDavenport commented 2 years ago

Could be related to gamercade-io/gamercade_console#26 and https://github.com/gamercade-io/gamercade_console/issues/12

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 .wasm file location, the .gce file location, output directory, etc. Ideally, we could build a nice one-line script to both compile the game, export the ROM, and the launch the console.

This could also help with building "packages" and downloads for the website, to include both the console itself with a few example projects or games.

RobDavenport commented 2 years ago

closing in favor of #68