Submission for WASM-4 Jam #2.

Public Library1.0.0updated 7 months ago20.1 KB
COPY
wapm install hiddendev/ninja-vs-knights

Need help using WAPM?

Get started here

Commands

play

Files

  • Readme.md

WASM-4 on WAPM

This is an example repo showcasing how to publish your WASM-4 game as a package to WAPM.

All packages properly tagged and showing up on https://wapm.io/interface/wasm4 will opt-in for the prize of the WASM-4 Jam #2

1. Install Wasmer

curl https://get.wasmer.io -sSfL | sh

For other installation instructions you can visit this page: https://github.com/wasmerio/wasmer-install

Note: If you have Wasmer already installed, make sure that your wapm version is 0.5.5 or greater. Any new installation of Wasmer will install the latest version of WAPM

wapm --version

2. Open an account in WAPM

Open an account in WAPM.

3. Login into the wapm CLI

You can login via two different ways:

4. Create the wapm.toml

You can use the reference wapm.toml and update the details.

Don't forget it to put the proper name for the package YOUR_USERNAME/THE_NAME_OF_THE_GAME and a good description for it.

Note: You can also type wapm init and follow the instructions (you will need to select the WASM4 ABI)

Example wapm.toml file:

5. Create a README.md file

Next to your wapm.toml, create a file named README.md.

This will help other people to see instructions or any other useful insights about your game.

6. Publish the package

Publish the package to wapm:

wapm publish

You need to execute this where the wapm.toml file is located.

<1klast week

Latest version

1.0.0

Latest updated

7 months ago

Unpackaged size

20.1 KB

Collaborators