Update API Reference
@@ -27,4 +27,9 @@ The following functions are provided by the library:
|
|||||||
|s.rand(min=0, max=1)|Random float|
|
|s.rand(min=0, max=1)|Random float|
|
||||||
|s.randi(min=0, max=1)|Random integer|
|
|s.randi(min=0, max=1)|Random integer|
|
||||||
|
|
||||||
|
## Sounds and music
|
||||||
|
|
||||||
|
|Function|Description|
|
||||||
|
|---|---|
|
||||||
|
|s.sfx(ZzFXParams, pitchSlide, volume)|Play a [ZzFX](https://killedbyapixel.github.io/ZzFX/) sound effect|
|
||||||
|
|s.volume(volume)|Change the volume|
|
||||||
|
|||||||
Reference in New Issue
Block a user