#wasm-4 #game #fantasy-console

no-std wasm4fun-core

Primitives and constants from WASM-4 fantasy console

1 unstable release

0.1.0 Jan 8, 2022
0.1.0-dev Jan 7, 2022

#11 in #wasm4

Download history 3/week @ 2023-12-03 3/week @ 2023-12-10 14/week @ 2023-12-17 13/week @ 2023-12-24 10/week @ 2024-01-07 3/week @ 2024-01-14 3/week @ 2024-01-21 10/week @ 2024-02-04 12/week @ 2024-02-11 25/week @ 2024-02-18 43/week @ 2024-02-25 25/week @ 2024-03-03 28/week @ 2024-03-10 28/week @ 2024-03-17

124 downloads per month
Used in 9 crates (7 directly)

ISC license

15KB
149 lines

Wasm4fun Core / WASM-4

Primitives and constants from WASM-4 fantasy console

Home page: https://wasm4fun.neocities.org/

Upstream home page: https://wasm4.org/

Repository: https://gitlab.com/claudiomattera/wasm4fun/

License

Copyright Bruno Garcia 2021

You are free to copy, modify, and distribute this application with attribution under the terms of ISC License (License-ISC or https://opensource.org/licenses/ISC).


lib.rs:

Primitives and constants from WASM-4 fantasy console

WASM-4 ships a w4 application that can generate a preconfigured Rust crate to build a game. That crate contains a wasm4 module that exports all primitives and constants exposed by the console.

This crate replicates that module, documenting each public symbol and adding few Rust attributes where needed, so that w4 is no longer necessary to build a game.

Note that w4 application is still required to play the game or to generate a self-contained cartridge from the final .wasm artefact.

No runtime deps