Commit graph

74 commits

Author SHA1 Message Date
Kazhnuz
f9b936a726 fix(world): fix hitbox type 2022-08-10 19:19:22 +02:00
Kazhnuz
eec43a522e fix(tiled): use the sti in the wrapper 2022-08-10 19:17:40 +02:00
Kazhnuz
f892b1ce4e fix: add gamesystem as a top-level element 2022-08-10 19:17:24 +02:00
Kazhnuz
de08fbd56b fix(textmenu): better scene loading 2022-08-10 19:16:22 +02:00
Kazhnuz
4722b734ed fix: do not load datapack if there isn't any 2022-08-10 19:15:38 +02:00
Kazhnuz
a315fcebb5 fix: remove stuff removed from Radiance's birb 2022-07-28 17:31:33 +02:00
Kazhnuz
5178ee0020 wip: other radiance stuff 2022-07-27 21:57:34 +02:00
Kazhnuz
8c4bcc70d5 improvement: add a function to get current scene 2021-12-05 12:23:49 +01:00
Kazhnuz
fff87e8ebb fix: fix gametime 2021-12-04 14:12:01 +01:00
Kazhnuz
b8ac8e7d51 fix: do not load databack if there isn't a list 2021-12-04 14:09:51 +01:00
Kazhnuz
43f7277dab feat: re-add gamesystem 2021-12-04 13:46:28 +01:00
Kazhnuz
c5c8897aa6 improvement: use Radiance's birb 2021-12-04 13:18:54 +01:00
Kazhnuz
8f1c326e6a fix: reset view on page change 2021-01-29 21:54:34 +01:00
Kazhnuz
f8910aefa4 feat(textwidget): label replacement 2021-01-24 15:44:24 +01:00
Kazhnuz
af6ceef38d improvement: add a way to start a scene after init 2021-01-24 15:44:07 +01:00
Kazhnuz
d3350e3938 feat: add a way to apply volume 2021-01-24 15:43:46 +01:00
Kazhnuz
870a4f7118 feat: add a basic text menu 2021-01-23 18:30:45 +01:00
Kazhnuz
772becc1a8 feat(textwidget): extend API 2021-01-23 18:30:30 +01:00
Kazhnuz
92c10440a1 fix: search global asset only if there is no local 2021-01-23 11:28:40 +01:00
Kazhnuz
e5d8e699bc feat(asset): fail when an asset doesn't exist 2021-01-17 12:44:40 +01:00
Kazhnuz
b22cc2159f feat: add a fail log function 2021-01-17 12:44:25 +01:00
Kazhnuz
0f4b6daf73 feat: add padding to text widgets 2020-12-05 21:20:20 +01:00
Kazhnuz
72829eb02a feat: add multi-label support in text widget 2020-12-05 09:27:40 +01:00
Kazhnuz
49509001ab feat: add asset access to widgets 2020-12-05 09:23:46 +01:00
Kazhnuz
abfda56b14 feat: give the menu name to widgets 2020-12-05 09:02:22 +01:00
Kazhnuz
3ae96e4cfc feat: add a page system to menus 2020-12-05 09:01:41 +01:00
Kazhnuz
e2d029ab0f feat: add a function to get a menu 2020-12-04 20:55:01 +01:00
Kazhnuz
bb6cf14437 chore:move around menus sub-objects 2020-12-04 13:16:32 +01:00
Kazhnuz
a72dfc0711 feat: refactor most menus 2020-12-04 12:57:24 +01:00
Kazhnuz
7e697c3628 feat: add drawWidget
Let the widget handle if its selected or not
2020-12-04 12:55:48 +01:00
Kazhnuz
37fc1fc9be feat: add a selected color for text widgets 2020-12-04 12:54:57 +01:00
Kazhnuz
4ff85e2cc1 feat: add views for 1D and 2D menus 2020-12-04 12:00:43 +01:00
Kazhnuz
89bbf5fff2 feat: add a getter for selected widget 2020-12-04 12:00:28 +01:00
Kazhnuz
876d30671d feat(math): add a basic wrap and limit function 2020-12-04 11:59:32 +01:00
Kazhnuz
12b4b3fbc1 feat(menumodel): add a widget limit 2020-11-29 12:50:07 +01:00
Kazhnuz
a3e2da3972 fix(menumodel): fix for loop 2020-11-29 12:43:52 +01:00
Kazhnuz
b1cd9a6683 chore: refactor widget list in a menumodel class 2020-11-28 18:32:49 +01:00
Kazhnuz
d9b8b71672 chore: separate widgets into three files 2020-11-28 15:27:25 +01:00
Kazhnuz
7e7cfe3763 chore: create a generic guiElement 2020-11-28 14:17:48 +01:00
Kazhnuz
dca462803f chore: make the code more readable in menumanager 2020-11-27 19:35:00 +01:00
Kazhnuz
74d8e904b2 chore: put all menus in their own subfolder 2020-11-27 17:00:39 +01:00
Kazhnuz
4b66d15014 chore: port actors to rect and box 2020-11-27 16:03:07 +01:00
Kazhnuz
82cf59588a chore: port menu to rect 2020-11-27 16:02:54 +01:00
Kazhnuz
e58f197049 feat: initial version of physical entities for 3D 2020-11-27 16:02:39 +01:00
Kazhnuz
cf1928444f fix: remove some problems in point and rects 2020-11-27 16:02:21 +01:00
Kazhnuz
fb55c9e706 chore: extract shapes from actor3D 2020-11-27 11:15:57 +01:00
Kazhnuz
c3ee812d1a chore: put automove in physics mixin
Fixes #54
2020-11-26 21:08:29 +01:00
Kazhnuz
dcc2965431 chore: simplify hitbox applciation 2020-11-26 20:54:16 +01:00
Kazhnuz
9eb0d321c8 chore: improve semantics
- Use "apply" when you apply collision, and not check
- Use "AtPoint" when you check at a point
2020-11-26 20:41:02 +01:00
Kazhnuz
b2623cdb6a chore: refactor hitbox adding 2020-11-26 20:29:59 +01:00