-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Create a bundler for the gamercade ecosystem #68
Comments
This could be related to #30 and #12 but I'm open to any kind of suggestions here. I think this could either be added to the editor as optional command line arguments, or possibly as a combination new binary & related crate... like New Crate & Additional CLI Tool Pros
Cons
Overall, I think this is a better approach - what do you think @Cardosaum ? |
After our short discussion on Discord, I think the correct steps to do this will be something like follows...
I'm not too picky on the names, and it might be worth it to split this up into two separate PRs, one for steps 1 & 2, and a second one for step 3. I can definitely help with this issue since there's actually some big changes needed, but not necessarily compelx ones. |
Comment from Andre_LA on Discord:
|
These are definitely fair points! I think the end goal here is to not make the bundler application a requirement, but only an alternative. And the first step for that would be to add the saving/loading/exporting logic into it's own library. Then, we can add the saving/loading/exporting logic to whatever other applications we need in the future. The bundler would just be a streamlined one, which could be invoked either by users or by CI/CD instances to keep things up to date. If we can get the bundler to work using arguments, then it should be easy to add that additional logic to the console later. I really like the idea of the Perhaps the command should look something like this? With an
|
Currently, the developer experience when creating games or contributing to the source code of the project is quite laborious.
For example, to generate a working version of a custom game first one need to open the editor, select the generated
wasm
for its game, then export it asgcrom
.We could automate this exporting process by creating a bundler that takes the
wasm
and any relevant assets file and automatically produces agcrom
as output.An idea of such working bundler could be:
Where
my_game.wasm
is the game code itself,my_game.gce
is the assets file andmy_game
is thegcrom
output file.Disclaimer: The original idea was from @RobDavenport, I'm just creating the tracking issue for the feature.
The text was updated successfully, but these errors were encountered: