L3-Bataille-Navale/source/gui
2023-03-10 14:59:40 +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
media added new better music, added ambient music 2023-03-09 23:15:19 +01:00
position position now use a css like distance system 2023-03-07 21:50:25 +01:00
scene changed the winning and loosing animations 2023-03-10 14:59:40 +01:00
texture added more animations for the boats, preview boat are now handled with a whole texture instead of a color filter 2023-03-08 21:14:45 +01:00
widget simplified the in_bbox function in the widgets 2023-03-09 23:34:15 +01:00
window implemented settings 2023-03-09 15:00:48 +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
regex.py path are now in the path module 2023-03-07 11:26:39 +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.