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
+4 -1
View File
@@ -60,7 +60,6 @@ namespace BBM
void Runner::updateState(WAL::Wal &engine, GameState &state)
{
auto &view = engine.getScene()->view<ControllableComponent>();
if (RAY::Window::getInstance().shouldClose())
engine.shouldClose = true;
if (gameState.currentScene == GameState::SceneID::GameScene) {
@@ -118,7 +117,11 @@ namespace BBM
void Runner::enableRaylib(WAL::Wal &wal)
{
#ifdef RELEASE
RAY::TraceLog::setLevel(LOG_NONE);
#else
RAY::TraceLog::setLevel(LOG_WARNING);
#endif
RAY::Window &window = RAY::Window::getInstance(1280, 720, "Bomberman", FLAG_WINDOW_RESIZABLE);
wal.addSystem<AnimationsSystem>()
.addSystem<AnimatorSystem>()