Added a great scene generator

This commit is contained in:
2023-05-16 20:37:41 -07:00
parent 39fffec483
commit 35b85529e9
12 changed files with 130 additions and 15 deletions

View File

@ -19,7 +19,7 @@ add_subdirectory(save)
# Assets
set(LIMINAL_ASSETS_DIR ${DAWN_ASSETS_DIR}/games/liminal)
tool_scene(${LIMINAL_ASSETS_DIR}/scenes/scene-base.xml)
tool_vnscene(${LIMINAL_ASSETS_DIR}/test.xml)
# tool_vnscene(${LIMINAL_ASSETS_DIR}/test.xml)
tool_prefab(${LIMINAL_ASSETS_DIR}/VNTextbox.xml)
tool_truetype(font_main ${DAWN_ASSETS_DIR}/ark-pixel.ttf)

View File

@ -5,11 +5,11 @@
#include "game/DawnGame.hpp"
#include "scenes/HelloWorldScene.hpp"
#include "vnscenes/TestScene.hpp"
#include "scenes/TestScene.hpp"
using namespace Dawn;
Scene * Dawn::dawnGameGetInitialScene(DawnGame *game) {
return new HelloWorldScene(game);
// return new TestScene(game);
// return new HelloWorldScene(game);
return new TestScene(game);
}