From b4897e4b0e15496cfd56da72b3c4183f11d29ba0 Mon Sep 17 00:00:00 2001 From: "arthur.jamet" Date: Sat, 19 Jun 2021 17:42:22 +0200 Subject: [PATCH] ui tile in game are transluscent --- .gitignore | 3 ++- sources/System/Lobby/LobbySystem.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index d4dba2e4..8da23996 100644 --- a/.gitignore +++ b/.gitignore @@ -9,4 +9,5 @@ emsdk/ build_web/* wasm-python.py lua54* -include/* \ No newline at end of file +include/* +save/* \ No newline at end of file diff --git a/sources/System/Lobby/LobbySystem.cpp b/sources/System/Lobby/LobbySystem.cpp index f7c7ce6f..0a10d8ae 100644 --- a/sources/System/Lobby/LobbySystem.cpp +++ b/sources/System/Lobby/LobbySystem.cpp @@ -216,7 +216,7 @@ namespace BBM int y = (playerCount % 3 != 0) ? 1080 - 10 - 248 : 10; scene->addEntity("player color tile") .addComponent(x, y - 2, 0) - .addComponent(x, y, 320, 248, _rayColors[color]); + .addComponent(x, y, 320, 248, RAY::Color(_rayColors[color]).setA(150)); scene->addEntity("player ui tile") .addComponent(x, y, 0) .addComponent(texturePath);