Begin VN scene parser
This commit is contained in:
36
assets/games/pokergame/vn/Scene_1.xml
Normal file
36
assets/games/pokergame/vn/Scene_1.xml
Normal file
@ -0,0 +1,36 @@
|
||||
<vnscene>
|
||||
<head>
|
||||
<!-- Includes -->
|
||||
<include path="visualnovel/scene/SimpleVNScene.hpp" />
|
||||
<include path="prefabs/characters/DeathPrefab.hpp" />
|
||||
|
||||
<!-- <include scene="Scene_2" /> -->
|
||||
|
||||
<!-- Characters -->
|
||||
<character class="DeathPrefab" name="death" />
|
||||
|
||||
<!-- Extra Assets -->
|
||||
<asset type="AudioAsset" name="audio_test" />
|
||||
|
||||
<!-- Scene -->
|
||||
<scene type="SimpleVNScene" name="Scene_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" />
|
||||
<scene-transition scene="Scene_2" />
|
||||
</events>
|
||||
</vnscene>
|
Reference in New Issue
Block a user