Prepping for ronin

This commit is contained in:
2023-07-02 02:59:08 -07:00
parent 29048234a7
commit ff360b9983
48 changed files with 256 additions and 7 deletions

View File

@ -4,5 +4,6 @@
# https://opensource.org/licenses/MIT
tool_prefab(${CMAKE_CURRENT_LIST_DIR}/EthPrefab.xml)
tool_prefab(${CMAKE_CURRENT_LIST_DIR}/RoninPrefab.xml)
tool_prefab(${CMAKE_CURRENT_LIST_DIR}/VNTextbox.xml)
tool_prefab(${CMAKE_CURRENT_LIST_DIR}/VNTextboxMonologue.xml)

View File

@ -1,4 +1,4 @@
<prefab name="EthPrefab" extend="prefabs/EthPrefabBase" type="">
<prefab name="EthPrefab" type="">
<item>
<MeshRenderer />
<QuadMeshHost xy0="-0.39118198874, .66439962476547842402" xy1="0.39118198874, 0" />

View File

@ -0,0 +1,19 @@
<prefab name="RoninPrefab" type="">
<item>
<MeshRenderer />
<QuadMeshHost xy0="-0.5, 1" xy1="0.5, 0" />
<SimpleTexturedMaterial ref="bodyMaterial" opaque="false" />
</item>
<item>
<MeshRenderer />
<QuadMeshHost xy0="-0.5, 1" xy1="0.5, 0" />
<SimpleTexturedMaterial ref="faceMaterial" opaque="false" />
</item>
<item>
<MeshRenderer />
<QuadMeshHost xy0="-0.5, 1" xy1="0.5, 0" />
<SimpleTexturedMaterial ref="poseMaterial" opaque="false" />
</item>
</prefab>

View File

@ -6,4 +6,5 @@
tool_scene(${CMAKE_CURRENT_LIST_DIR}/SceneStandard.xml)
tool_scene(${CMAKE_CURRENT_LIST_DIR}/SceneMonologue.xml)
tool_vnscene(${CMAKE_CURRENT_LIST_DIR}/Scene1Prologue0.xml)
tool_vnscene(${CMAKE_CURRENT_LIST_DIR}/Scene1Prologue1.xml)
tool_vnscene(${CMAKE_CURRENT_LIST_DIR}/Scene1Prologue1.xml)
tool_vnscene(${CMAKE_CURRENT_LIST_DIR}/SceneTest.xml)

View File

@ -4,7 +4,7 @@
<string lang="en"><font style="italics">There is a bucket.</font></string>
</text>
<!-- <text>
<text>
<string lang="en"><font style="italics">It sways above your head like the mouth of a god. You are on Angelwood's best stage, and they are cheering for you, calling you their Queen, their Prom Queen.</font></string>
</text>
@ -30,7 +30,7 @@
<text>
<string lang="en"><font style="italics">Is their eyes.</font></string>
</text> -->
</text>
<scene-change scene="vnscenes/Scene1Prologue1" />
</events>

View File

@ -3,7 +3,7 @@
<Camera ref="backCamera" />
</item>
<item ref="eth" prefab="prefabs/EthPrefab" />
<!-- <item ref="eth" prefab="prefabs/EthPrefab" /> -->
<item position="0, 0, -10">
<MeshRenderer />

View File

@ -0,0 +1,17 @@
<vnscene name="SceneTest" extend="scenes/SceneStandard">
<item ref="ronin" prefab="prefabs/RoninPrefab" />
<asset ref="baseBodyTexture" type="texture" name="texture_ronin_pose_day_body" />
<asset ref="faceTest" type="texture" name="texture_ronin_face_day_neutral" />
<asset ref="poseTexture" type="texture" name="texture_ronin_pose_day_cross" />
<events>
<set property="ronin->bodyMaterial->texture" value="&baseBodyTexture->texture" type="Texture*" />
<set property="ronin->faceMaterial->texture" value="&faceTest->texture" type="Texture*" />
<set property="ronin->poseMaterial->texture" value="&poseTexture->texture" type="Texture*" />
<text>
<string lang="en"><font style="italics">whoa</font></string>
</text>
</events>
</vnscene>

View File

@ -6,6 +6,7 @@
set(LIMINIAL_CHARACTER_SCALE 0.2)
include("${CMAKE_CURRENT_LIST_DIR}/eth/CMakeLists.txt")
include("${CMAKE_CURRENT_LIST_DIR}/ronin/CMakeLists.txt")
tool_texture(texture_border
FILE=${CMAKE_CURRENT_LIST_DIR}/texture_test.png

View File

@ -0,0 +1,7 @@
# Copyright (c) 2023 Dominic Masters
#
# This software is released under the MIT License.
# https://opensource.org/licenses/MIT
include("${CMAKE_CURRENT_LIST_DIR}/faces/CMakeLists.txt")
include("${CMAKE_CURRENT_LIST_DIR}/poses/CMakeLists.txt")

View File

@ -0,0 +1,14 @@
# Copyright (c) 2023 Dominic Masters
#
# This software is released under the MIT License.
# https://opensource.org/licenses/MIT
set(RONIN_FACE_TEXTURE_OPTIONS
SCALE=${LIMINIAL_CHARACTER_SCALE}
FILTER_MIN=nearest
FILTER_MAG=nearest
CROP_END_Y=2833
)
include(${CMAKE_CURRENT_LIST_DIR}/day/CMakeLists.txt)
include(${CMAKE_CURRENT_LIST_DIR}/night/CMakeLists.txt)

View File

@ -0,0 +1,49 @@
# Copyright (c) 2023 Dominic Masters
#
# This software is released under the MIT License.
# https://opensource.org/licenses/MIT
tool_texture(texture_ronin_face_day_anger
FILE="${CMAKE_CURRENT_LIST_DIR}/anger.png"
${RONIN_FACE_TEXTURE_OPTIONS}
)
tool_texture(texture_ronin_face_day_confused
FILE="${CMAKE_CURRENT_LIST_DIR}/confused.png"
${ETH_FACE_TEXTURE_OPTIONS}
)
tool_texture(texture_ronin_face_day_furious
FILE="${CMAKE_CURRENT_LIST_DIR}/furious.png"
${ETH_FACE_TEXTURE_OPTIONS}
)
tool_texture(texture_ronin_face_day_happy
FILE="${CMAKE_CURRENT_LIST_DIR}/happy.png"
${RONIN_FACE_TEXTURE_OPTIONS}
)
tool_texture(texture_ronin_face_day_neutral
FILE="${CMAKE_CURRENT_LIST_DIR}/neutral.png"
${RONIN_FACE_TEXTURE_OPTIONS}
)
tool_texture(texture_ronin_face_day_sad
FILE="${CMAKE_CURRENT_LIST_DIR}/sad.png"
${RONIN_FACE_TEXTURE_OPTIONS}
)
tool_texture(texture_ronin_face_day_scoff
FILE="${CMAKE_CURRENT_LIST_DIR}/scoff.png"
${RONIN_FACE_TEXTURE_OPTIONS}
)
tool_texture(texture_ronin_face_day_smirk
FILE="${CMAKE_CURRENT_LIST_DIR}/smirk.png"
${RONIN_FACE_TEXTURE_OPTIONS}
)
tool_texture(texture_ronin_face_day_surprised
FILE="${CMAKE_CURRENT_LIST_DIR}/surprised.png"
${RONIN_FACE_TEXTURE_OPTIONS}
)

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 MiB

View File

@ -0,0 +1,49 @@
# Copyright (c) 2023 Dominic Masters
#
# This software is released under the MIT License.
# https://opensource.org/licenses/MIT
tool_texture(texture_ronin_face_night_anger
FILE="${CMAKE_CURRENT_LIST_DIR}/anger.png"
${RONIN_FACE_TEXTURE_OPTIONS}
)
tool_texture(texture_ronin_face_night_confused
FILE="${CMAKE_CURRENT_LIST_DIR}/confused.png"
${ETH_FACE_TEXTURE_OPTIONS}
)
tool_texture(texture_ronin_face_night_furious
FILE="${CMAKE_CURRENT_LIST_DIR}/furious.png"
${ETH_FACE_TEXTURE_OPTIONS}
)
tool_texture(texture_ronin_face_night_happy
FILE="${CMAKE_CURRENT_LIST_DIR}/happy.png"
${RONIN_FACE_TEXTURE_OPTIONS}
)
tool_texture(texture_ronin_face_night_neutral
FILE="${CMAKE_CURRENT_LIST_DIR}/neutral.png"
${RONIN_FACE_TEXTURE_OPTIONS}
)
tool_texture(texture_ronin_face_night_sad
FILE="${CMAKE_CURRENT_LIST_DIR}/sad.png"
${RONIN_FACE_TEXTURE_OPTIONS}
)
tool_texture(texture_ronin_face_night_scoff
FILE="${CMAKE_CURRENT_LIST_DIR}/scoff.png"
${RONIN_FACE_TEXTURE_OPTIONS}
)
tool_texture(texture_ronin_face_night_smirk
FILE="${CMAKE_CURRENT_LIST_DIR}/smirk.png"
${RONIN_FACE_TEXTURE_OPTIONS}
)
tool_texture(texture_ronin_face_night_surprised
FILE="${CMAKE_CURRENT_LIST_DIR}/surprised.png"
${RONIN_FACE_TEXTURE_OPTIONS}
)

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 MiB

View File

@ -0,0 +1,13 @@
# Copyright (c) 2023 Dominic Masters
#
# This software is released under the MIT License.
# https://opensource.org/licenses/MIT
set(RONIN_POSE_TEXTURE_OPTIONS
SCALE=${LIMINIAL_CHARACTER_SCALE}
FILTER_MIN=nearest
FILTER_MAG=nearest
)
include(${CMAKE_CURRENT_LIST_DIR}/day/CMakeLists.txt)
include(${CMAKE_CURRENT_LIST_DIR}/night/CMakeLists.txt)

View File

@ -0,0 +1,39 @@
# Copyright (c) 2023 Dominic Masters
#
# This software is released under the MIT License.
# https://opensource.org/licenses/MIT
tool_texture(texture_ronin_pose_day_body
FILE="${CMAKE_CURRENT_LIST_DIR}/body.png"
${RONIN_POSE_TEXTURE_OPTIONS}
)
tool_texture(texture_ronin_pose_day_cross
FILE="${CMAKE_CURRENT_LIST_DIR}/cross.png"
${RONIN_POSE_TEXTURE_OPTIONS}
)
tool_texture(texture_ronin_pose_day_gun
FILE="${CMAKE_CURRENT_LIST_DIR}/gun.png"
${RONIN_POSE_TEXTURE_OPTIONS}
)
tool_texture(texture_ronin_pose_day_hair
FILE="${CMAKE_CURRENT_LIST_DIR}/hair.png"
${RONIN_POSE_TEXTURE_OPTIONS}
)
tool_texture(texture_ronin_pose_day_neck
FILE="${CMAKE_CURRENT_LIST_DIR}/neck.png"
${RONIN_POSE_TEXTURE_OPTIONS}
)
tool_texture(texture_ronin_pose_day_pocket
FILE="${CMAKE_CURRENT_LIST_DIR}/pocket.png"
${RONIN_POSE_TEXTURE_OPTIONS}
)
tool_texture(texture_ronin_pose_day_side
FILE="${CMAKE_CURRENT_LIST_DIR}/side.png"
${RONIN_POSE_TEXTURE_OPTIONS}
)

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 936 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 716 KiB

View File

@ -0,0 +1,39 @@
# Copyright (c) 2023 Dominic Masters
#
# This software is released under the MIT License.
# https://opensource.org/licenses/MIT
tool_texture(texture_ronin_pose_night_body
FILE="${CMAKE_CURRENT_LIST_DIR}/body.png"
${RONIN_POSE_TEXTURE_OPTIONS}
)
tool_texture(texture_ronin_pose_night_cross
FILE="${CMAKE_CURRENT_LIST_DIR}/cross.png"
${RONIN_POSE_TEXTURE_OPTIONS}
)
tool_texture(texture_ronin_pose_night_gun
FILE="${CMAKE_CURRENT_LIST_DIR}/gun.png"
${RONIN_POSE_TEXTURE_OPTIONS}
)
tool_texture(texture_ronin_pose_night_hair
FILE="${CMAKE_CURRENT_LIST_DIR}/hair.png"
${RONIN_POSE_TEXTURE_OPTIONS}
)
tool_texture(texture_ronin_pose_night_neck
FILE="${CMAKE_CURRENT_LIST_DIR}/neck.png"
${RONIN_POSE_TEXTURE_OPTIONS}
)
tool_texture(texture_ronin_pose_night_pocket
FILE="${CMAKE_CURRENT_LIST_DIR}/pocket.png"
${RONIN_POSE_TEXTURE_OPTIONS}
)
tool_texture(texture_ronin_pose_night_side
FILE="${CMAKE_CURRENT_LIST_DIR}/side.png"
${RONIN_POSE_TEXTURE_OPTIONS}
)

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 999 KiB

View File

@ -4,12 +4,12 @@
// https://opensource.org/licenses/MIT
#include "game/DawnGame.hpp"
#include "vnscenes/Scene1Prologue0.hpp"
#include "vnscenes/SceneTest.hpp"
#include "scenes/HelloWorldScene.hpp"
using namespace Dawn;
Scene * Dawn::dawnGameGetInitialScene(DawnGame *game) {
// return new HelloWorldScene(game);
return new Scene1Prologue0(game);
return new SceneTest(game);
}