L3-Bataille-Navale/source/gui
2023-03-06 19:30:07 +01:00
..
better_pyglet united custom Sprite and Label in better_pyglet, they now have a default_kwargs. "Century Gothic Bold" is now the default font 2023-03-06 10:11:42 +01:00
event added more documentation in some files 2023-02-23 00:02:28 +01:00
scene boats of the ally grid are now sent to the opposent when the game end 2023-03-06 19:30:07 +01:00
sound renamed some variable and files 2023-03-06 09:29:30 +01:00
texture renamed some variable and files 2023-03-06 09:29:30 +01:00
widget united custom Sprite and Label in better_pyglet, they now have a default_kwargs. "Century Gothic Bold" is now the default font 2023-03-06 10:11:42 +01:00
window batchs are now automatically handled by the scene and the widgets 2023-03-02 21:34:21 +01:00
__init__.py added BoxWidget class that allow widgets with a bbox 2023-02-11 00:31:48 +01:00
README.md rewrote the base of the Window, Scene and Widget class to make them as clean as possible 2023-02-09 23:56:04 +01:00

Ce module est une "surcouche" pour le module pyglet afin d'implémenter quelques éléments qui ne sont pas déjà disponible nativement dans cette librairie, tel que :

  • Les scènes (attachable à une fenêtre afin de changer rapidement de menu / d'interface)
  • Les widgets (attachable à des scènes afin de rajouter des boutons, des textes, ...)

Ces éléments permettent de plus facilement gérer le redimensionnement de la fenêtre tout en restant suffisament rapide pour ne pas causer de problème de ralentissement.