Begin VN scene parser
This commit is contained in:
@ -39,6 +39,8 @@ tool_truetype(truetype_alice ${DIR_GAME_ASSETS}/font/Alice-Regular.ttf truetype_
|
||||
|
||||
tool_audio(audio_test borrowed/sample_short.wav)
|
||||
|
||||
tool_vnscene(vnscene_1 ${DIR_GAME_ASSETS}/vn/Scene_1.xml)
|
||||
|
||||
add_dependencies(${DAWN_TARGET_NAME}
|
||||
locale_poker
|
||||
|
||||
@ -50,4 +52,6 @@ add_dependencies(${DAWN_TARGET_NAME}
|
||||
texture_test
|
||||
|
||||
audio_test
|
||||
|
||||
vnscene_1
|
||||
)
|
@ -11,8 +11,6 @@
|
||||
#include "visualnovel/events/characters/VisualNovelTransformItemEvent.hpp"
|
||||
#include "visualnovel/events/timing/VisualNovelBatchEvent.hpp"
|
||||
|
||||
#include "ui_test.hpp"
|
||||
|
||||
namespace Dawn {
|
||||
class Scene_1 : public SimpleVNScene {
|
||||
protected:
|
||||
@ -22,10 +20,6 @@ namespace Dawn {
|
||||
|
||||
this->death = DeathPrefab::create(this);
|
||||
this->death->material->color.a = 0;
|
||||
// this->death->transform.setLocalPosition(glm::vec3(-100, 0, 0));
|
||||
|
||||
auto item = this->canvas->addElement<UITest>();
|
||||
item->setTransform(UI_COMPONENT_ALIGN_STRETCH, UI_COMPONENT_ALIGN_STRETCH, glm::vec4(0, 0, 0, 0), 0.0f);
|
||||
}
|
||||
|
||||
void onSceneEnded() {
|
||||
|
Reference in New Issue
Block a user