Commit graph

49 commits

Author SHA1 Message Date
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
Kazhnuz
f30fc6346d chore: initialize the hitbox with the physics 2020-11-26 20:18:26 +01:00
Kazhnuz
9993221e0d improvement: use directly a table for box attr 2020-11-26 20:16:19 +01:00
Kazhnuz
b071547630 chore: let the hitbox handle the scaling 2020-11-26 20:12:05 +01:00
Kazhnuz
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
79902a097f chore: extract physics as a mixins
Fixes #52
2020-11-26 19:16:15 +01:00
Kazhnuz
5393d16007 chore: divide simple target into mixins 2020-11-26 18:40:25 +01:00
Kazhnuz
b97d320dc7 chore: prepare for division in mixins 2020-11-25 13:30:10 +01:00
Kazhnuz
730d89a76c feat: add basic reusable 2D objects
Fixes #51
2020-11-25 13:29:27 +01:00
Kazhnuz
124a228d3b feat: add a 3D middle point function 2020-11-25 13:02:11 +01:00
Kazhnuz
5837fd8b51 feat: add a global asset system 2020-11-13 19:11:09 +01:00
Kazhnuz
c5c9f040bc chore: add asset types to their own folders 2020-11-13 17:51:12 +01:00
Kazhnuz
3b1097c917 chore: make SFX a soundObject too 2020-11-13 17:43:28 +01:00
Kazhnuz
fed8ab4662 fix: make unintented local variables globals 2020-11-09 16:01:08 +01:00
Kazhnuz
6a66cff503 fix: fix missing vars 2020-11-09 15:59:57 +01:00
Kazhnuz
77311a803b fix: fix function getActorsInRect 2020-11-09 15:59:05 +01:00
Kazhnuz
6bac6704f5 fix: use the right dimensions for fading 2020-08-09 15:06:25 +02:00
Kazhnuz
e8e75ac4db improvement: manage music via core.music
Fix #43
2020-08-09 14:51:52 +02:00
Kazhnuz
c946e582bd improvement(options): have default options in conf.lua 2020-05-10 14:21:45 +02:00
Kazhnuz
9a0db953ba feat(debug): add basic loggin framework 2020-05-10 14:06:20 +02:00
Kazhnuz
92cbda69a1 fix(actors): replace deprecated functions after the sprite transition 2020-05-10 11:38:50 +02:00
Kazhnuz
8b3a5f1f0c chore: extract the sprite of the actor 2020-05-10 11:14:51 +02:00
Kazhnuz
9f4c057a27 chore: place the birb core in a separate folder 2020-04-05 18:39:08 +02:00
Kazhnuz
4cedf30bfd chore: separate the exemple project 2020-04-05 18:18:13 +02:00
Kazhnuz
d59fe10927 meta: rename as birb 2020-04-05 15:46:56 +02:00