Keep in mind that we are still building things, so the docs could be totally wrong or incomplete.
null0
Sound
🔊

Sounds work like all types of sounds can be played with play_sound and there are several types.

Here is an example, click to focus for sound:

Source: sound (opens in a new tab)

The null0 zip-file looks like this:

├── assets
│ └── notnullgames.ogg
└── main.wasm

Our docs aren't really ready, but we're working on it.

Here is the nim signatures for now:

# sound-source: load a sound file (ogg, wav, etc) from file inside the cart
proc sound_load(filename: string): uint32
 
# sound-source: create a text-to-speech talker
proc speech_load(text: string): uint32
 
# play a sound-source
proc sound_play(id: uint32)