Commit graph

19 commits

Author SHA1 Message Date
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
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
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