Overview
Specs
- Screen: 320x240, 256 colors, 60Hz
- Modules: Up to 256KB (WASM)
- Memory: 256KB
- Gamepad input (D-Pad + 4 Buttons)
Examples
- Fireworks (127 bytes): Some fireworks to welcome 2022.
- Skip Ahead (229 bytes): A port of my TIC-80 256byte game from LoveByte'21
- OhNoAnotherTunnel (177 bytes): A port of my entry in the Outline'21 bytebattle final
- Technotunnel (158 bytes): A port of my entry in the Outline'21 bytebattle quater final
- Font & Palette: Just a simple viewer for the default font and palette.
- Technotunnel B/W (199 bytes uncompressed): A port of my entry in the Outline'21 bytebattle quater final (older MicroW8 version with monochrome palette)
- XorScroll (50 bytes uncompressed): A simple scrolling XOR pattern. Fun fact: This is the pre-loaded effect when entering a bytebattle.
- CircleWorm (126 bytes uncompressed): Just a test for the circle fill function.
Versions
Tooling
WARNING: severely out of date. The uw8 binary includes a lot of the tool features below.
The Web Assembly Binary Toolkit includes
a few useful tools, eg. wat2wasm to compile the WebAssemby text format to binary
wasm and wasm2wat to disassemble wasm binaries.
If you don't like the look of the .wat text format, you might want to take a
look at CurlyWas, a curly-braces infix
syntax for WebAssembly.
Once you have a size-efficient .wasm file, you can use uw8-tool
(currently included in the MicroW8 repository) to strip off sections of the
WebAssembly module that are provided by the MicroW8 platform.
Writing code for MicroW8 in C, Rust, AssemblyScript etc. should absolutely possible but no examples are provided, yet.