Parallel event processing

This commit is contained in:
2023-04-24 20:04:31 -07:00
parent d105f9e4ab
commit 87d12982d1
13 changed files with 243 additions and 78 deletions

View File

@ -3,23 +3,11 @@
<events>
<!-- Set the default values -->
<position item="cube" x="0" y="0" z="10" />
<set property="cube->material->color" value="COLOR_BLACK" type="struct Color" />
<set property="cube->material->color.a" value="0" type="uint8_t" />
<!-- Fade out the black overlay -->
<set property="cube->material->color.a" from="1" to="0" duration="1" curve="easeOut" type="uint8_t" />
<position item="cube" x="0" y="0" z="0" />
<!-- Example Text, also showing how in future we can support multiple languages -->
<text character="eth">
<string lang="en">Hi, I'm Ethereality.</string>
</text>
<!-- Fade in craig -->
<set property="cube->material->color.a" from="0" to="1" duration="1" curve="easeOut" type="uint8_t" />
<text character="craig">
<string lang="en">Hi, I'm Craig.</string>
</text>
<parallel>
<wait time="1" />
<wait time="3" />
</parallel>
</events>
</vnscene>