Skip to content
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

Building Projects: [GX.games] Add a "save as .zip" output type which avoids uploading to the GXC #7454

Closed
Sidorakh opened this issue Aug 28, 2024 · 20 comments
Assignees
Labels
documentation Improvements or additions to documentation are required by this issue feature request New feature (or a request for one)
Milestone

Comments

@Sidorakh
Copy link

Is your feature request related to a problem?

I'd like to use the web assembly runner on websites other than GX Games

Describe the solution you'd like

An ability to export a WASM build outside of the GX Games website

Describe alternatives you've considered

Written an extension to handle this for me

Additional context

No response

@Sidorakh Sidorakh added the feature request New feature (or a request for one) label Aug 28, 2024
@YYDan YYDan changed the title Add a Web Assembly target for the GX.Games export Add a Web Assembly target separate to the GX.Games export Aug 28, 2024
@tabularelf
Copy link

I need this badly for the current runtime!

@gnysek
Copy link
Contributor

gnysek commented Aug 28, 2024

Also, this should mark sunset of "old" HTML5 exporter, even for GMS2, as WASM should give better results.

@Sidorakh
Copy link
Author

Sidorakh commented Aug 28, 2024

That'd also need some extension support in the WASM runner, wouldn't it? Currently only works with GML-based extensions, can't call native JS from an extension yet, that probably needs a separate FR though

@rwkay
Copy link

rwkay commented Aug 28, 2024

Also, this should mark sunset of "old" HTML5 exporter, even for GMS2, as WASM should give better results.

No it would not, on current runtime we would continue supporting both... GMRT will NOT have a Javascript runner though.

Many reasons for this as WASM ecosystem is not as fully formed just yet, WASM builds are larger just now, extensions are not as fully supported

@tabularelf
Copy link

Also, this should mark sunset of "old" HTML5 exporter, even for GMS2, as WASM should give better results.

No it would not, on current runtime we would continue supporting both... GMRT will NOT have a Javascript runner though

I think that's the point... HTML5 is going to be phased out for GMRT, so it just opens up a transitional period this way

@gnysek
Copy link
Contributor

gnysek commented Aug 28, 2024

As tubularelf says - maybe "sunset" was too much (as that means even no bugfixes at some point), but adding "deprecated" or some other word which fits should be a good warning for people, that this exporter won't keep up with new GMRT era.

@jack27121
Copy link

jack27121 commented Aug 28, 2024

very needed, i know many whose had to go through several hoops and do their own workarounds to be able to have a stable wasm build on their own websites of choice. This really shouldn't be the case. Last i heard there was DRM involved, which i don't see any benefit in having for browser exporting

edit: no longer drm, which is a great start!

@rwkay
Copy link

rwkay commented Aug 28, 2024

very needed, i know many whose had to go through several hoops and do their own workarounds to be able to have a stable wasm build on their own websites of choice. This really shouldn't be the case. Last i heard there was DRM involved, which i don't see any benefit in having for browser exporting

No DRM is involved on the WASM export at all these days - it should work on all browsers (desktop and mobile)

@sofycat
Copy link

sofycat commented Aug 30, 2024

Meow :3

@FoxyOfJungle
Copy link

I would love to have this functionality, especially for uploading to Itch.io to post demos of some projects, for example. In addition to being able to publish a game on your own host as well

@rwkay rwkay self-assigned this Sep 21, 2024
@rwkay rwkay added this to the 2024.11 milestone Sep 21, 2024
@rwkay rwkay moved this from Backlog to Todo in Team Workload Sep 21, 2024
@rwkay
Copy link

rwkay commented Sep 21, 2024

image

Added an export option to create a ZIP file with all the files for the WASM export

@YYDan YYDan moved this from Todo to Done in Team Workload Sep 23, 2024
@YYDan YYDan changed the title Add a Web Assembly target separate to the GX.Games export Building Projects: [GX.games] Add a "save as .zip" output type which avoids uploading to the GXC Sep 23, 2024
@rwkay
Copy link

rwkay commented Sep 25, 2024

Fixed in 2024.11

@rwkay rwkay closed this as completed Sep 25, 2024
@gurpreetsinghmatharoo gurpreetsinghmatharoo added the documentation Improvements or additions to documentation are required by this issue label Sep 30, 2024
@gurpreetsinghmatharoo gurpreetsinghmatharoo self-assigned this Sep 30, 2024
@scott-dunbar
Copy link
Collaborator

Export of the WASM target to zip will prompt you for a sign in. This seems unnecessary and it would be good if we could skip that requirement

Tested in IDE v2024.1100.0.629 Runtime v2024.1100.0.654

Reopening issue to have this addressed
GXZip

@scott-dunbar scott-dunbar reopened this Sep 30, 2024
@github-project-automation github-project-automation bot moved this from Done to Triage in Team Workload Sep 30, 2024
@stuckie stuckie moved this from Triage to Todo in Team Workload Oct 1, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in Team Workload Oct 3, 2024
@gurpreetsinghmatharoo gurpreetsinghmatharoo removed their assignment Oct 7, 2024
@YYBartT YYBartT self-assigned this Oct 10, 2024
@YYBartT
Copy link

YYBartT commented Oct 10, 2024

Manual page (and screenshot) for this will be updated after the fix for #7964.

YYBartT added a commit to YoYoGames/GameMaker-Manual that referenced this issue Oct 11, 2024
…ds uploading to the GXC

YoYoGames/GameMaker-Bugs#7454

* Compiling page:
  * Updated screenshot and description as well as other text referring to GX.games target
* Renamed GX.Games => GX.games
@YYBartT
Copy link

YYBartT commented Oct 11, 2024

Updated the screenshot and description on the Compiling manual page.

@scott-dunbar
Copy link
Collaborator

Verified in IDE v2024.1100.0.646 Runtime v2024.1100.0.666

@scott-dunbar scott-dunbar moved this from Ready for QA to Verified in Team Workload Oct 14, 2024
YYBartT added a commit to YoYoGames/GameMaker-Manual that referenced this issue Oct 17, 2024
YoYoGames/GameMaker-Bugs#7454

* Listed "Zip File" on preferences page
* Corrected the order of steps for the GX.games target on the Compiling page
* Updated "GX.games packaging" screenshot
@jack27121
Copy link

jack27121 commented Nov 14, 2024

i do not see any save as zip version on GX.games, there may be more requisite steps i dont know, but it is atleast not clear to me
(most recent ide and runtime)

@gnysek
Copy link
Contributor

gnysek commented Nov 14, 2024

@jack27121 most recent monthly .08, or .1100 beta? :) there are two "recent" versions.

@jack27121
Copy link

jack27121 commented Nov 14, 2024

@jack27121 most recent monthly .08, or .1100 beta? :) there are two "recent" versions.

.08. Is this thing still in beta? If so my bad!

@gnysek
Copy link
Contributor

gnysek commented Nov 14, 2024

No, .1100 is beta (of .11 monthly), and feature seems to be there, while it's not in 2024.08.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation are required by this issue feature request New feature (or a request for one)
Projects
Status: Verified
Development

No branches or pull requests