Skip to content

Commit

Permalink
Adds more notes on PlayOn
Browse files Browse the repository at this point in the history
  • Loading branch information
JujuAdams committed Nov 2, 2024
1 parent 296543c commit ef7d9cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/6.1/Functions-Runtime-Setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ No example provided.
|`emitter`|emitter |Emitter to register |
|`alias` |string |Name of the emitter for use when setting up|

Registers an emitter for use with the `emitter` property on patterns. You should call this function once, ideally on boot. This emitter should further exist for the lifetime of the game and is intended for use with audio effect buses.
Registers an emitter for use with the `emitter` property on patterns in config JSON. You **don't** need to register emitters unless you want to reference the emitter in config JSON. You should call this function once, ideally on boot. This emitter should further exist for the lifetime of the game and is intended for use with audio effect buses.

#### **Example**

Expand Down
2 changes: 2 additions & 0 deletions docs/6.1/Playing-Audio.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ No example provided.
|`[duckerName]` |string |Ducker to use for the voice. This **overrides** the ducker name defined when setting up the sound/pattern |
|`[duckPriority]`|number |Ducker priority to use for the voice. This **overrides** the priority defined when setting up the sound/pattern|

?> You **don't** need to register the emitter with `VinylRegisterEmitter()`. You can use any native GameMaker emitter.

#### **Example**

```gml
Expand Down

0 comments on commit ef7d9cb

Please sign in to comment.