Making Solid Controller work
This commit is contained in:
@ -22,4 +22,5 @@ set(ROSE_ASSETS_DIR ${DAWN_ASSETS_DIR}/games/rose)
|
||||
tool_prefab(${ROSE_ASSETS_DIR}/prefabs/Player.xml)
|
||||
tool_prefab(${ROSE_ASSETS_DIR}/prefabs/Urchin.xml)
|
||||
tool_prefab(${ROSE_ASSETS_DIR}/prefabs/Crab.xml)
|
||||
tool_prefab(${ROSE_ASSETS_DIR}/prefabs/SwordHitbox.xml)
|
||||
tool_prefab(${ROSE_ASSETS_DIR}/prefabs/SwordHitbox.xml)
|
||||
tool_prefab(${ROSE_ASSETS_DIR}/prefabs/Wall.xml)
|
@ -9,6 +9,7 @@
|
||||
#include "prefabs/Player.hpp"
|
||||
#include "prefabs/Urchin.hpp"
|
||||
#include "prefabs/Crab.hpp"
|
||||
#include "prefabs/Wall.hpp"
|
||||
#include "prefabs/ui/debug/FPSLabel.hpp"
|
||||
#include "display/mesh/CapsuleMesh.hpp"
|
||||
#include "display/mesh/CubeMesh.hpp"
|
||||
@ -23,11 +24,13 @@ namespace Dawn {
|
||||
|
||||
auto player = Player::create(this);
|
||||
|
||||
auto urchin = Urchin::create(this);
|
||||
urchin->transform.setLocalPosition(glm::vec3(0, 0, -5));
|
||||
auto wall = Wall::create(this);
|
||||
|
||||
auto crab = Crab::create(this);
|
||||
crab->transform.setLocalPosition(glm::vec3(3, 0, 0));
|
||||
// auto urchin = Urchin::create(this);
|
||||
// urchin->transform.setLocalPosition(glm::vec3(0, 0, -5));
|
||||
|
||||
// auto crab = Crab::create(this);
|
||||
// crab->transform.setLocalPosition(glm::vec3(3, 0, 0));
|
||||
|
||||
canvas = UICanvas::create(this);
|
||||
|
||||
|
Reference in New Issue
Block a user