For Gamercade and the Gamercade Console.
Bindings are located at /gamercade
.
Import the bindings into your project with import * as gc from "../gamercade/gamercade-raw";
.
You can use the raw
api. like gc.set_pixel(0, 10, 10)
.
Build the project with npm run asbuild
.
The file will be output at build/release.wasm
.
Then, follow the guide on bundling a game with the editor.
This was built and is compatible with AssemblyScript ^0.21.3.
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.