Creating A Marketplace Asset

When you select the Create Package option from the IDE Marketplace Menu you will be taken to the following workspace:Marketplace Create Package  Here you must first select the Publisher identity that you want to publish the asset package as (which you should have set up from your Publisher Dashboard), then give a Display Name and a Version Number. A package ID will then be created for you based on the display name and publisher account used, but you can edit this to be something else if you wish as long as it maintains the reverse URL format. You then need to choose the type of asset package to make:

Once you have done that you can then choose which assets from the project you want to add into the Asset Package using the section on the right. You can add all your assets, or only some of them as well as remove any that you may have added by mistake. It is assumed that you have created the asset to be uploaded previously in GameMaker and that the current project contains all that you require to upload.

REMEMBER! To be able to create or use asset packages, you must have previously created a user profile certificate. You can do this from the Marketplace Preferences, which is explained here.

When you are happy with the selection of assets and want to upload your package to the Marketplace, simply click the Okay button at the bottom, and the asset package will be created and uploaded to the Marketplace. When the upload is complete, a new workspace will open with a browser view of the asset page for you to edit. For more information on how to set this up, please see the following page:

If you need to update a Marketplace Asset, you do more or less the same as you did when you created the original package, only now you need to specify the package to update from a drop down list of available packages:

Update Asset List Of AssetsWhen updating, you won't be able to change the package ID, and you should be aware that the Version Number shown will be the current version number and you should increment this as appropriate otherwise the update will fail (since you cannot have two asset packages with the same version number). There is also a field where you can add some text for the change log for the asset, and this will be uploaded along with the asset and displayed on the Marketplace page. 

IMPORTANT! Assets made with GameMaker version 2.3+ will only be available to those users that are using version 2.3 and above. If you are updating an asset from a previous version, that asset will still be available to users who have not updated and will co-exist with the updated 2.3+ version.

 

Uploading Though The Web Page

You can upload assets through the actual Marketplace web page rather than the IDE, something which may be necessary if the upload through the IDE has failed for whatever reason. To start with, you would create the package and attempt to upload through the IDE as shown above, and if it has failed you wold then go to the Output Window and check the log for a line that shows where the package you are creating was saved to before attempting the upload. For example:

On Windows:

Created package file:
C:\Users\WINDOWSUSERNAME\AppData\Roaming\GameMaker\GM_USERNAME\Marketplace\Packages\com.publishername.assetname.yymp

On macOS:

Created package file:
/Users/MACUSERNAME/.config/GameMaker/GM_USERNAME/Marketplace/Packages/com.publishername.assetname.yymp

You need to navigate to that file location and copy the *.YYMP file to a safe location, as this will be the file you will be uploading to the Marketplace.

At this point you need to open up the Marketplace in your web browser and navigate to the asset listing for the asset and then go to the Versions section, and then click the Upload Version button, as shown in the image below:

Upload A New Asset VersionThis will take you to the upload page for the new version where you can add in information about the version being uploaded if required and also supply the file by clicking the Choose FIle button and selecting the previously created *.YYMP file:

New Version Marketplace Upload WindowAdding the file will upload the versions and show a "progress" bar, and when the upload is finished and are happy with the details, you can then click on the Save button to save the asset to the listing. Note that the asset will be in the Processing stage for a few minutes before it can be published.