Commit graph

142 commits

Author SHA1 Message Date
9fe42e16ec Settings scene now use the option object. Fixed an issue where the old FPS settings wouldn't be applied on restart 2023-03-12 22:37:32 +01:00
095b956ed7 corrected pip command 2023-03-12 16:29:37 +01:00
3ffaa6471b removed useless media modification before loading settings 2023-03-12 11:43:54 +01:00
d81df1de3b settings are now saved when modified 2023-03-12 11:41:56 +01:00
beb90734c9 made the README files for every module 2023-03-12 10:13:01 +01:00
53033450f1 renamed 2 files to respect naming convention 2023-03-11 23:11:19 +01:00
dff4f4c6a1 finished asserts 2023-03-11 12:53:01 +01:00
ebf573ca21 changed the winning and loosing animations 2023-03-10 14:59:40 +01:00
cb4e7cafe3 simplified the in_bbox function in the widgets 2023-03-09 23:34:15 +01:00
13aa6312b8 the game music was not looping 2023-03-09 23:16:15 +01:00
0578ff41c2 added new better music, added ambient music 2023-03-09 23:15:19 +01:00
b7933faed6 added test 2023-03-09 18:23:11 +01:00
b136ddbf62 changed the save titles in the history list 2023-03-09 17:22:27 +01:00
d14352d28e the project can now be converted into a .exe file. Added an icon 2023-03-09 15:46:13 +01:00
19af7f454c added the opponent name in the history filename 2023-03-09 15:14:49 +01:00
e3a67eff6a implemented settings 2023-03-09 15:00:48 +01:00
5ca7ed5195 implemented settings 2023-03-09 14:31:46 +01:00
6e6e42d54e renamed "invalid" to "valid" for the Input widget 2023-03-09 09:40:12 +01:00
9388c0eedb form can no longer be submitted if they contain invalid elements 2023-03-09 00:06:54 +01:00
fce1ed0abf simplified the code for handling error in the network module 2023-03-08 23:46:39 +01:00
8ef6d0d239 fixed an issue where leaving while the other was deciding to load the old save would softlock the user 2023-03-08 23:18:05 +01:00
708e32e245 changed the game background 2023-03-08 22:51:46 +01:00
ff14a4e5d4 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
1c872f7a28 ajout de plus de son et d'une meilleure gestion des players 2023-03-08 18:18:17 +01:00
94243d3028 replay now start from the last movement, added a shortcut will the mouse scroll 2023-03-08 17:37:57 +01:00
c5e33ce6f8 new texture for the menus 2023-03-08 08:56:26 +01:00
d574703e90 position now use a css like distance system 2023-03-07 21:50:25 +01:00
e1b575efc9 position now use more readable function 2023-03-07 16:10:07 +01:00
b386fc03fa added the possibility to view in replay a previous game 2023-03-07 14:52:05 +01:00
15353991f6 path are now in the path module 2023-03-07 11:26:39 +01:00
15b522cb7b regex are now stored in a specific file 2023-03-07 11:17:52 +01:00
cc5a90405c fixed type hint for packets 2023-03-07 10:14:16 +01:00
bd748ad349 the connexion timeout is now 1 second instead of 5 (fix the quiting fast from host to client to connect to ourselves) 2023-03-07 09:33:43 +01:00
8d3f53cec1 there is now a status text when trying to connect to a host, it is no longer possible to spam "connect" 2023-03-07 09:30:21 +01:00
3df01c695c finished the history menu 2023-03-06 19:57:18 +01:00
f3ee475c2e boats of the ally grid are now sent to the opposent when the game end 2023-03-06 19:30:07 +01:00
8c7b429d29 each move are now saved in the history list of the Game object 2023-03-06 13:54:56 +01:00
316de05525 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
e64439b622 renamed some variable and files 2023-03-06 09:29:30 +01:00
eaa70a5c76 system message are now formatted as "<System>" instead of "[System]" 2023-03-05 23:02:32 +01:00
bc1dceb39b the save button now have a cooldown of 40 seconds 2023-03-05 22:59:02 +01:00
4be4cf5a03 save are now deleted end an history save is created when a game end 2023-03-05 22:49:05 +01:00
808b309c40 the load menus now show the time of the save 2023-03-05 21:47:51 +01:00
49546ff4a8 added things to the todo list 2023-03-05 14:51:14 +01:00
e7f73c0b98 added texture for the replay 2023-03-05 12:58:46 +01:00
3e55cc5b90 fixed a minor issue with the save where non-local IP could have a rollback in the save 2023-03-05 12:31:28 +01:00
75d1c1fa92 added load / save system 2023-03-05 12:05:41 +01:00
5bdffd40de changed some grid code to be easier to manipulate 2023-03-05 11:32:36 +01:00
8048a3d43b load screen before loading an old save file 2023-03-04 13:32:59 +01:00
312210b323 Added prompt to save the game 2023-03-04 12:46:58 +01:00