merge from develop (tested)

This commit is contained in:
arthur.jamet
2021-06-18 12:39:28 +02:00
58 changed files with 269 additions and 185 deletions
+3 -3
View File
@@ -20,12 +20,12 @@ namespace BBM
auto scene = std::make_shared<WAL::Scene>();
addMenuControl(*scene);
auto &splashComponent = scene->addEntity("animation component")
scene->addEntity("animation component")
.addComponent<IntroAnimationComponent>();
auto &background = scene->addEntity("background")
scene->addEntity("background")
.addComponent<PositionComponent>(0, 0, 0)
.addComponent<Drawable2DComponent, RAY2D::Rectangle>(RAY::Vector2(), RAY::Vector2(1920, 1080));
auto &skipText = scene->addEntity("Press space to skip")
scene->addEntity("Press space to skip")
.addComponent<PositionComponent>(1920 - 250, 1080 - 30, 0)
.addComponent<Drawable2DComponent, RAY2D::Text>("Press space to skip", 20, RAY::Vector2(), BLACK)
.addComponent<OnIdleComponent>()