mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-06-01 17:55:48 +00:00
merge from develop (tested)
This commit is contained in:
@@ -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>()
|
||||
|
||||
Reference in New Issue
Block a user