Moving some scene files around

This commit is contained in:
2023-07-03 23:05:59 -07:00
parent ff360b9983
commit 98d284f201
18 changed files with 171 additions and 50 deletions

View File

@ -1,28 +1,34 @@
<scene name="SceneStandard">
<!-- Main Camera, this is put way past where the characters will be -->
<item lookAt="9999, 9999, 9999, 9999, 9999, 0">
<Camera ref="backCamera" />
</item>
<!-- <item ref="eth" prefab="prefabs/EthPrefab" /> -->
<!-- Background -->
<item position="0, 0, -10">
<MeshRenderer />
<QuadMeshHost xy0="-500000, -500000" xy1="500000, 500000" />
<SimpleTexturedMaterial color="COLOR_BLACK" />
<SimpleTexturedMaterial ref="backgroundMaterial" color="COLOR_BLACK" />
</item>
<!-- VN Scene Camera -->
<item lookAt="0, 0.65, 1.8, 0, .65, 0">
<Camera ref="camera" fov="0.610865" />
<CameraTexture ref="camTexture" camera="camera" />
</item>
<!-- UI -->
<item>
<!-- Canvas -->
<UICanvas ref="canvas" camera="backCamera" />
<!-- Textbox -->
<item ref="textbox" prefab="prefabs/VNTextbox" />
<!-- VN Scene Texture -->
<item position="100, 0, 0">
<UIImage
alignment="0, 0, 50, 0"
alignment="0, 0, 60, 0"
alignX="UI_COMPONENT_ALIGN_START"
alignUnitRight="UI_COMPONENT_ALIGN_UNIT_PERCENT"
alignY="UI_COMPONENT_ALIGN_STRETCH"
@ -32,10 +38,12 @@
</item>
</item>
<!-- VN Manager -->
<item ref="vnItem">
<VNManager ref="vnManager" />
</item>
<!-- Code to handle scene resizing and auto adjusting the scene camera -->
<code type="init">
useEvent([&amp;]{
assertNotNull(camTexture);