> For the complete documentation index, see [llms.txt](https://bennykok.gitbook.io/rhythm-game-starter/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bennykok.gitbook.io/rhythm-game-starter/integration/naninovel.md).

# Naninovel

{% embed url="<https://cln.sh/GKgbHT>" %}

## Step

1. Install RGS
2. Install Naninovel
3. Download and install RGSNaninovelIntegration.unitypackage
4. Check out the NaninovelDemo scene in the Demo folder

{% file src="/files/BIM6J0Ihx9owRMRJZ7Dn" %}

## Tips

#### Make sure the DemoScript is set to the "Start Game Script"

![](/files/Y9VI4rNzrry596VfHjL0)

#### Adding a new song is as easy as dragging and dropping to RGSNaninovelManager

![](/files/GFR55wkZofEYrhlt0sbp)

#### Play song and stop song

<table><thead><tr><th width="162.33333333333331">Command</th><th>Description</th><th>Params</th></tr></thead><tbody><tr><td><pre><code>rgsPlay
</code></pre></td><td>Play specific song by key configured in RGSNaninovelManager</td><td>name, waitForCompletion</td></tr><tr><td><pre><code>rgsStop
</code></pre></td><td>Stop any playing song</td><td></td></tr></tbody></table>

![](/files/lUBQoEzaSoPHfPdmX0uV)

#### Available variables

<table><thead><tr><th>Variables</th><th></th></tr></thead><tbody><tr><td><pre><code>rgs_combo
</code></pre></td><td>Current combo</td></tr><tr><td><pre><code>rgs_score
</code></pre></td><td>Total score</td></tr><tr><td><pre><code>rgs_maxCombo
</code></pre></td><td>Max combo</td></tr><tr><td><pre><code>rgs_missed
</code></pre></td><td>Missed note count</td></tr><tr><td><pre><code>rgs_level_&#x3C;name>
</code></pre></td><td>Hit level count (e.g. Perfect, Ok)</td></tr></tbody></table>
