#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

#7 in #wasm4

Download history 32/week @ 2024-03-12 23/week @ 2024-03-19 41/week @ 2024-03-26 69/week @ 2024-04-02 29/week @ 2024-04-09 68/week @ 2024-04-16 64/week @ 2024-04-23 21/week @ 2024-04-30 22/week @ 2024-05-07 24/week @ 2024-05-14 18/week @ 2024-05-21 32/week @ 2024-05-28 20/week @ 2024-06-04 17/week @ 2024-06-11 20/week @ 2024-06-18 25/week @ 2024-06-25

87 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