Commit Graph

515 Commits

Author SHA1 Message Date
Kazhnuz Klappsthul f347f47aab fix: port the option menu to the new menusystem 2021-01-30 09:19:37 +01:00
Kazhnuz Klappsthul e8b796f978 fix: port to the new menusystem the pause menu 2021-01-30 09:19:22 +01:00
Kazhnuz Klappsthul 150aad86f1 fix: port mainMenu to the new Scene:start() API 2021-01-30 09:18:59 +01:00
Kazhnuz Klappsthul baa5a24ce6 fix: initial ports of the basic scenes 2021-01-30 09:18:07 +01:00
Kazhnuz Klappsthul 8f1c326e6a fix: reset view on page change 2021-01-29 21:54:34 +01:00
Kazhnuz Klappsthul f8910aefa4 feat(textwidget): label replacement 2021-01-24 15:44:24 +01:00
Kazhnuz Klappsthul af6ceef38d improvement: add a way to start a scene after init 2021-01-24 15:44:07 +01:00
Kazhnuz Klappsthul d3350e3938 feat: add a way to apply volume 2021-01-24 15:43:46 +01:00
Kazhnuz Klappsthul 99952487a9 fix: port main menu to textmenu 2021-01-23 18:31:40 +01:00
Kazhnuz Klappsthul 870a4f7118 feat: add a basic text menu 2021-01-23 18:30:45 +01:00
Kazhnuz Klappsthul 772becc1a8 feat(textwidget): extend API 2021-01-23 18:30:30 +01:00
Kazhnuz Klappsthul 92c10440a1 fix: search global asset only if there is no local 2021-01-23 11:28:40 +01:00
Kazhnuz Klappsthul e5d8e699bc feat(asset): fail when an asset doesn't exist 2021-01-17 12:44:40 +01:00
Kazhnuz Klappsthul b22cc2159f feat: add a fail log function 2021-01-17 12:44:25 +01:00
Kazhnuz Klappsthul 0f4b6daf73 feat: add padding to text widgets 2020-12-05 21:20:20 +01:00
Kazhnuz Klappsthul 72829eb02a feat: add multi-label support in text widget 2020-12-05 09:27:40 +01:00
Kazhnuz Klappsthul 49509001ab feat: add asset access to widgets 2020-12-05 09:23:46 +01:00
Kazhnuz Klappsthul 93bbf56047 chore: port the main menu to the new system 2020-12-05 09:02:42 +01:00
Kazhnuz Klappsthul abfda56b14 feat: give the menu name to widgets 2020-12-05 09:02:22 +01:00
Kazhnuz Klappsthul 3ae96e4cfc feat: add a page system to menus 2020-12-05 09:01:41 +01:00
Kazhnuz Klappsthul e2d029ab0f feat: add a function to get a menu 2020-12-04 20:55:01 +01:00
Kazhnuz Klappsthul bb6cf14437 chore:move around menus sub-objects 2020-12-04 13:16:32 +01:00
Kazhnuz Klappsthul a72dfc0711 feat: refactor most menus 2020-12-04 12:57:24 +01:00
Kazhnuz Klappsthul 7e697c3628 feat: add drawWidget
Let the widget handle if its selected or not
2020-12-04 12:55:48 +01:00
Kazhnuz Klappsthul 37fc1fc9be feat: add a selected color for text widgets 2020-12-04 12:54:57 +01:00
Kazhnuz Klappsthul 4ff85e2cc1 feat: add views for 1D and 2D menus 2020-12-04 12:00:43 +01:00
Kazhnuz Klappsthul 89bbf5fff2 feat: add a getter for selected widget 2020-12-04 12:00:28 +01:00
Kazhnuz Klappsthul 876d30671d feat(math): add a basic wrap and limit function 2020-12-04 11:59:32 +01:00
Kazhnuz Klappsthul 12b4b3fbc1 feat(menumodel): add a widget limit 2020-11-29 12:50:07 +01:00
Kazhnuz Klappsthul a3e2da3972 fix(menumodel): fix for loop 2020-11-29 12:43:52 +01:00
Kazhnuz Klappsthul b1cd9a6683 chore: refactor widget list in a menumodel class 2020-11-28 18:32:49 +01:00
Kazhnuz Klappsthul d9b8b71672 chore: separate widgets into three files 2020-11-28 15:27:25 +01:00
Kazhnuz Klappsthul 7e7cfe3763 chore: create a generic guiElement 2020-11-28 14:17:48 +01:00
Kazhnuz Klappsthul dca462803f chore: make the code more readable in menumanager 2020-11-27 19:35:00 +01:00
Kazhnuz Klappsthul 74d8e904b2 chore: put all menus in their own subfolder 2020-11-27 17:00:39 +01:00
Kazhnuz Klappsthul 4b66d15014 chore: port actors to rect and box 2020-11-27 16:03:07 +01:00
Kazhnuz Klappsthul 82cf59588a chore: port menu to rect 2020-11-27 16:02:54 +01:00
Kazhnuz Klappsthul e58f197049 feat: initial version of physical entities for 3D 2020-11-27 16:02:39 +01:00
Kazhnuz Klappsthul cf1928444f fix: remove some problems in point and rects 2020-11-27 16:02:21 +01:00
Kazhnuz Klappsthul fb55c9e706 chore: extract shapes from actor3D 2020-11-27 11:15:57 +01:00
Kazhnuz Klappsthul c3ee812d1a chore: put automove in physics mixin
Fixes #54
2020-11-26 21:08:29 +01:00
Kazhnuz Klappsthul dcc2965431 chore: simplify hitbox applciation 2020-11-26 20:54:16 +01:00
Kazhnuz Klappsthul 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 Klappsthul b2623cdb6a chore: refactor hitbox adding 2020-11-26 20:29:59 +01:00
Kazhnuz Klappsthul f30fc6346d chore: initialize the hitbox with the physics 2020-11-26 20:18:26 +01:00
Kazhnuz Klappsthul 9993221e0d improvement: use directly a table for box attr 2020-11-26 20:16:19 +01:00
Kazhnuz Klappsthul b071547630 chore: let the hitbox handle the scaling 2020-11-26 20:12:05 +01:00
Kazhnuz Klappsthul 92c08e30ee chore: pack and unpack the coordinates
It'll allow us to unify the hitbox loading system
2020-11-26 19:41:13 +01:00
Kazhnuz Klappsthul 79902a097f chore: extract physics as a mixins
Fixes #52
2020-11-26 19:16:15 +01:00
Kazhnuz Klappsthul 5393d16007 chore: divide simple target into mixins 2020-11-26 18:40:25 +01:00