From 1a36cd2372e07d8ef76bb386395a21e11bdfc2a0 Mon Sep 17 00:00:00 2001 From: Faraphel Date: Sat, 18 Feb 2023 20:21:21 +0100 Subject: [PATCH] added a caption to the window --- NOTE.md | 1 - main.pyw | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/NOTE.md b/NOTE.md index 0cd710d..f4c3760 100644 --- a/NOTE.md +++ b/NOTE.md @@ -1,4 +1,3 @@ A faire : - Optimiser les textures dans un dictionnaires - Optimiser les textures similaire dans un atlas -- Permettre de forcer la taille de la fenĂȘtre Ă  un ratio diff --git a/main.pyw b/main.pyw index dae6b4e..b3c4633 100644 --- a/main.pyw +++ b/main.pyw @@ -3,9 +3,8 @@ import pyglet from source.gui.scene import MainMenu from source.gui.window import GameWindow - # Create a new window -window = GameWindow(resizable=True, vsync=True) +window = GameWindow(resizable=True, vsync=True, caption="Bataille Navale") window.add_scene(MainMenu) # Start the event loop