Commit graph

18 commits

Author SHA1 Message Date
f3ee475c2e boats of the ally grid are now sent to the opposent when the game end 2023-03-06 19:30:07 +01:00
3caaa8180d batchs are now automatically handled by the scene and the widgets 2023-03-02 21:34:21 +01:00
c49971fe5a ajout d'un écran de victoire 2023-02-24 11:32:13 +01:00
39d44e7ec2 added a function to render board on the grid (unoptimised !!!) 2023-02-20 15:21:43 +01:00
5dcd570be8 added the possibility to prevent an event to propagate to the next widgets 2023-02-19 16:50:05 +01:00
d2d2f2fdc1 drawing is now done with batch (speeding up the drawing by 50% to 300%) 2023-02-19 12:32:16 +01:00
75c1d4b6e8 added a Style system 2023-02-19 12:02:12 +01:00
15161764ad moved the fps counter from a widget to the GameWindow features, window can now react to event after all scenes got their corresponding event called by adding "_after" in the name of the method event 2023-02-18 20:05:44 +01:00
446e377b19 simplified event in Widget with Listener, added more useful property to BoxWidget 2023-02-18 19:41:07 +01:00
ca59abee01 added background on game and renamed some minor variable 2023-02-17 22:49:44 +01:00
ca001511c8 started the networking and interface connection 2023-02-17 15:56:00 +01:00
c5c81be6ce implemented the Scroller 2023-02-15 13:58:28 +01:00
928d35b97b added a Checkbox widget 2023-02-15 09:38:31 +01:00
2dfc21b8ef distance can now be represented by a constant pixel value or a function that is called when the distance have to be updated 2023-02-15 08:57:24 +01:00
e5ce93a207 added a RoomCreate and a RoomJoin scene 2023-02-14 23:02:44 +01:00
7cc837b68e recoded the structure of the gui 2023-01-14 00:11:35 +01:00
de9fcf78c0 added type hint for Point2D and BBox 2023-01-10 20:33:13 +01:00
eff0218c8f added a Widget system with a Button widget example 2023-01-10 00:09:25 +01:00