Commit graph

14 commits

Author SHA1 Message Date
b386fc03fa added the possibility to view in replay a previous game 2023-03-07 14:52:05 +01:00
16e88462a1 added popup alongside scene 2023-03-03 13:06:08 +01:00
3caaa8180d batchs are now automatically handled by the scene and the widgets 2023-03-02 21:34:21 +01:00
39d44e7ec2 added a function to render board on the grid (unoptimised !!!) 2023-02-20 15:21:43 +01:00
8a385a75bf factorised the event_wrapper from Window and Scene to a Mixin 2023-02-19 18:50:04 +01:00
5dcd570be8 added the possibility to prevent an event to propagate to the next widgets 2023-02-19 16:50:05 +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
ca59abee01 added background on game and renamed some minor variable 2023-02-17 22:49:44 +01:00
2783dd67dc removed *args from Widget 2023-02-15 15:50:45 +01:00
59ee20efe5 fixed bbox property not returning the correct x2 and y2 2023-02-13 14:31:25 +01:00
9b008cbaea added BoxWidget class that allow widgets with a bbox 2023-02-11 00:31:48 +01:00
432a311b76 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
3cb8a94c13 added more widgets 2023-02-09 18:26:03 +01:00
920914ad8c restructured some part of the code, implemented Label and Button 2023-01-17 22:24:03 +01:00