Added texture data format support
@ -1,22 +1,39 @@
|
||||
<prefab name="EthPrefab" type="">
|
||||
<asset type="texture" name="texture_eth" />
|
||||
<asset type="texture" name="texture_eth_faces_day" ref="faceTexture" />
|
||||
<asset type="texture" name="texture_eth_poses_day" ref="bodyTexture" />
|
||||
|
||||
<MeshRenderer />
|
||||
<QuadMeshHost />
|
||||
<SimpleBillboardedMaterial texture="texture_eth" />
|
||||
<TiledSprite tile="0" ref="tiledSprite" sizeType="TILED_SPRITE_SIZE_TYPE_WIDTH_RATIO" />
|
||||
<MeshRenderer />
|
||||
<QuadMeshHost />
|
||||
<SimpleBillboardedMaterial texture="faceTexture" />
|
||||
<TiledSprite tile="0" ref="faceSprite" sizeType="TILED_SPRITE_SIZE_TYPE_HEIGHT_RATIO" size="0.5" />
|
||||
|
||||
<!-- <item>
|
||||
<MeshRenderer />
|
||||
<QuadMeshHost />
|
||||
<SimpleBillboardedMaterial texture="bodyTexture" />
|
||||
<TiledSprite tile="0" ref="bodySprite" sizeType="TILED_SPRITE_SIZE_TYPE_HEIGHT_RATIO" size="0.5" />
|
||||
</item> -->
|
||||
|
||||
<code type="properties">
|
||||
TilesetGrid grid;
|
||||
TilesetGrid gridFace;
|
||||
TilesetGrid gridBody;
|
||||
</code>
|
||||
|
||||
<code type="init">
|
||||
this->grid = TilesetGrid(
|
||||
1, 13,
|
||||
741, 10270,
|
||||
this->gridFace = TilesetGrid(
|
||||
1, 9,
|
||||
faceTexture->texture.getWidth(), faceTexture->texture.getHeight(),
|
||||
0, 0,
|
||||
0, 0
|
||||
);
|
||||
tiledSprite->tileset = &grid;
|
||||
faceSprite->tileset = &gridFace;
|
||||
|
||||
this->gridBody = TilesetGrid(
|
||||
1, 9,
|
||||
bodyTexture->texture.getWidth(), bodyTexture->texture.getHeight(),
|
||||
0, 0,
|
||||
0, 0
|
||||
);
|
||||
//bodySprite->tileset = &gridBody;
|
||||
</code>
|
||||
</prefab>
|
@ -1,20 +1,22 @@
|
||||
<scene name="SceneBase">
|
||||
<item lookAt="10, 10, 10, 0, 0, 0">
|
||||
<Camera ref="camera" />
|
||||
<Camera ref="backCamera" />
|
||||
</item>
|
||||
|
||||
<item ref="eth" prefab="prefabs/EthPrefab" />
|
||||
|
||||
<!-- <item lookAt="0, 0, 5, 0, 0, 0" > -->
|
||||
<item lookAt="5, 5, 5, 0, 0, 0" >
|
||||
<Camera fov="0.436332" />
|
||||
<!-- <Camera ref="camera" type="CAMERA_TYPE_ORTHONOGRAPHIC" /> -->
|
||||
<Camera ref="camera" />
|
||||
<CameraTexture ref="camTexture" />
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<UICanvas ref="canvas" camera="camera" />
|
||||
<UICanvas ref="canvas" camera="backCamera" />
|
||||
<item ref="textbox" prefab="prefabs/VNTextbox" />
|
||||
|
||||
<item>
|
||||
<item position="100, 0, 0">
|
||||
<UIImage
|
||||
alignment="0, 0, 50, 0"
|
||||
alignX="UI_COMPONENT_ALIGN_START"
|
||||
|
Before Width: | Height: | Size: 4.1 MiB |
BIN
assets/games/liminal/textures/eth/faces_day.png
Normal file
After Width: | Height: | Size: 29 MiB |
BIN
assets/games/liminal/textures/eth/faces_day_alt.png
Normal file
After Width: | Height: | Size: 30 MiB |
BIN
assets/games/liminal/textures/eth/faces_night.png
Normal file
After Width: | Height: | Size: 29 MiB |
BIN
assets/games/liminal/textures/eth/faces_night_alt.png
Normal file
After Width: | Height: | Size: 31 MiB |
BIN
assets/games/liminal/textures/eth/poses_day.png
Normal file
After Width: | Height: | Size: 59 MiB |
BIN
assets/games/liminal/textures/eth/poses_day_alt.png
Normal file
After Width: | Height: | Size: 61 MiB |
BIN
assets/games/liminal/textures/eth/poses_night.png
Normal file
After Width: | Height: | Size: 58 MiB |
BIN
assets/games/liminal/textures/eth/poses_night_alt.png
Normal file
After Width: | Height: | Size: 57 MiB |
Before Width: | Height: | Size: 317 KiB |