diff --git a/sources/Runner/Runner.cpp b/sources/Runner/Runner.cpp index b5aadd18..8933ec03 100644 --- a/sources/Runner/Runner.cpp +++ b/sources/Runner/Runner.cpp @@ -359,7 +359,11 @@ namespace BBM entity.getComponent().drawable->setColor(ORANGE); }); + static const std::vector colors = { BLUE, RED, GREEN, YELLOW }; for (int i = 0; i < 4; i++) { + auto &playerTile = scene->addEntity("player tile") + .addComponent(224 * (i + 1) + 200 * i, 1080 / 3, 0) + .addComponent(RAY::Vector2(224 * (i + 1) + 200 * i, 1080 / 3), RAY::Vector2(200, 200), colors[i]); auto &player = scene->addEntity("player") .addComponent(224 * (i + 1) + 200 * i, 1080 / 3, 0) .addComponent("assets/player/icons/none.png");