34 lines
889 B
XML
34 lines
889 B
XML
<vnscene>
|
|
<head>
|
|
<!-- Includes -->
|
|
<include path="visualnovel/scene/SimpleVNScene.hpp" />
|
|
<include path="prefabs/characters/DeathPrefab.hpp" />
|
|
|
|
<!-- Characters -->
|
|
<character class="DeathPrefab" name="death" />
|
|
|
|
<!-- Extra Assets -->
|
|
<asset type="AudioAsset" name="audio_test" />
|
|
|
|
<!-- Scene -->
|
|
<scene type="SimpleVNScene" name="vnscene_1" />
|
|
|
|
<!-- Defaults -->
|
|
<!-- <default type="animation-curve">out-quad</default> -->
|
|
</head>
|
|
|
|
<!-- Some other ideas I had:
|
|
<methods>
|
|
<method type="void" name="onSceneEnded">
|
|
// Literal CPP code here.
|
|
</method>
|
|
</methods>
|
|
-->
|
|
|
|
<events>
|
|
<pause duration="0.1" />
|
|
<text character="death" emotion="happy" string="scene.1.1" />
|
|
<character-fade character="death" duration="1.0" ease="out-quad" fade="in" />
|
|
<scene-transition scene="vnscene_2" />
|
|
</events>
|
|
</vnscene> |