Commit graph

475 commits

Author SHA1 Message Date
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
982be45f1a fix: add globals 2020-11-09 15:58:30 +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
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
Kazhnuz
a83dceee80 feat(utils): add drawBorder function to utils 2019-11-14 19:50:26 +01:00
Kazhnuz
ad295bf9c9 feat(fonts): add filter info functions 2019-09-23 13:51:53 +02:00
Kazhnuz
84919719f8 feat(exemple): add a transition when a scene is selected 2019-09-08 16:23:42 +02:00
Kazhnuz
4b24579070 feat(scenes): handle scene transitions 2019-09-08 16:23:30 +02:00
Kazhnuz
8385a69636 feat(screen): add screen transitions 2019-09-08 16:23:12 +02:00
Kazhnuz
a1afa0821c feat(timer): add variable interpolation support via tween.lua 2019-09-08 16:18:32 +02:00
Kazhnuz
02bc52a49b feat(timer): add a switch system 2019-09-08 14:21:21 +02:00
Kazhnuz
8290fbb8d2 improvement(actors): use the new timers modules 2019-09-08 12:57:13 +02:00
Kazhnuz
ab3d9abf9f feat(modules): new Timers modules 2019-09-08 12:56:59 +02:00
Kazhnuz
eccaf77687 feat(example): add a respawn timer 2019-09-08 12:34:16 +02:00
Kazhnuz
e40ea3cfab feat(modules): make modules loadable directly from core object 2019-09-08 12:24:57 +02:00
Kazhnuz
c339129566 feat(screen): add scissoring functions 2019-09-07 21:53:14 +02:00
Kazhnuz
8e000dbc44 fix(input): improve key flushing 2019-09-07 21:51:20 +02:00
Kazhnuz
47c6bab698 fix(world): link the player to the right input source 2019-09-07 21:34:52 +02:00
Kazhnuz
8d524fb4db fix(input): fix a missing mention of "source" 2019-09-07 21:06:08 +02:00
Kazhnuz
077b1151f1 feat(world/cam): add a way to lock the camera 2019-09-07 21:04:35 +02:00