changement de la grosseur du texte

les touches K et L pour faire afficher du texte
This commit is contained in:
Jonathan Trottier 2023-10-02 16:27:41 -04:00
parent 432b8545a7
commit bf164af23b
2 changed files with 3 additions and 3 deletions

View File

@ -20,8 +20,8 @@
#define SRV_ADDR "127.0.0.1"
#define COUNTDOWN 300
#define BASE_WIDTH 640
#define BASE_HEIGHT 480
#define BASE_WIDTH 1920
#define BASE_HEIGHT 1080
#define TEXTURE_PATH "./media/textures/"
#define SHADER_PATH "./media/shaders/"

View File

@ -163,7 +163,7 @@ void Engine::DisplayNotification(std::string message) {
// Add a method to process the notification queue
void Engine::ProcessNotificationQueue() {
m_textureFont.Bind();
float scale = GetScale() / 2.0f;
float scale = GetScale();
unsigned int xOffset = Width() - Width() * 0.26;
unsigned int yOffset = Height() - (Height() / 2.2);