Commit Graph

541 Commits

Author SHA1 Message Date
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
Kazhnuz Klappsthul b97d320dc7 chore: prepare for division in mixins 2020-11-25 13:30:10 +01:00
Kazhnuz Klappsthul 730d89a76c feat: add basic reusable 2D objects
Fixes #51
2020-11-25 13:29:27 +01:00
Kazhnuz Klappsthul 124a228d3b feat: add a 3D middle point function 2020-11-25 13:02:11 +01:00
Kazhnuz Klappsthul 5837fd8b51 feat: add a global asset system 2020-11-13 19:11:09 +01:00
Kazhnuz Klappsthul c5c9f040bc chore: add asset types to their own folders 2020-11-13 17:51:12 +01:00
Kazhnuz Klappsthul 3b1097c917 chore: make SFX a soundObject too 2020-11-13 17:43:28 +01:00
Kazhnuz Klappsthul fed8ab4662 fix: make unintented local variables globals 2020-11-09 16:01:08 +01:00
Kazhnuz Klappsthul 6a66cff503 fix: fix missing vars 2020-11-09 15:59:57 +01:00
Kazhnuz Klappsthul 77311a803b fix: fix function getActorsInRect 2020-11-09 15:59:05 +01:00
Kazhnuz Klappsthul 982be45f1a fix: add globals 2020-11-09 15:58:30 +01:00
Kazhnuz Klappsthul 6bac6704f5 fix: use the right dimensions for fading 2020-08-09 15:06:25 +02:00
Kazhnuz Klappsthul 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 b12108a260 Merge branch 'birb-refactor' of game-projects/gamecore into master 2020-04-05 18:54:33 +02:00
Kazhnuz f843d4f550 fix: use right names on conf file 2020-04-05 18:49:40 +02:00
Kazhnuz 5575b90271 meta: adapt readme 2020-04-05 18:48:57 +02:00
Kazhnuz ccbff45f21 meta: add the big changes to new version 2020-04-05 18:43:20 +02:00
Kazhnuz 9f4c057a27 chore: place the birb core in a separate folder 2020-04-05 18:39:08 +02:00
Kazhnuz b98e8dd291 fix: use the right option music name in exemples 2020-04-05 18:21:36 +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