Commit graph

756 commits

Author SHA1 Message Date
Kazhnuz
72cccdcaf2 feat: add qteSuccess and qteFailure conditions 2021-07-03 19:28:58 +02:00
Kazhnuz
6a37f12776 chore: remove stray print 2021-07-03 18:19:08 +02:00
Kazhnuz
1dd8f14b7c fix: make that HP/PP value have no inbattle bonus 2021-07-03 13:20:44 +02:00
Kazhnuz
d9e521d643 fix: use the right hp/pp regen value 2021-07-03 13:18:47 +02:00
Kazhnuz
295f98ebd9 feat: add inbattle stats bonus 2021-07-03 13:18:24 +02:00
Kazhnuz
109ed7c9b2 fix: limit hp/pp to their max value 2021-07-03 13:18:16 +02:00
Kazhnuz
4c46e510d0 feat: add battle stats 2021-07-03 12:56:32 +02:00
Kazhnuz
d4698ab101 improvement: get battle stats from the fighter
It'll allow us later to add battle bonus and malus
2021-07-03 11:17:57 +02:00
Kazhnuz
32bb1b5425 chore: remove deprecated recomputation functions 2021-07-03 10:44:17 +02:00
Kazhnuz
2265d7dac9 improvement: do not recompute all stats 2021-07-03 10:41:16 +02:00
Kazhnuz
99bee81c90 feat: add CharacterStatManager 2021-07-03 10:34:13 +02:00
Kazhnuz
c0b4fd41f8 feat: add ennemy stat manager 2021-07-03 10:12:56 +02:00
Kazhnuz
de0a1a886a fix: better use of the super variable 2021-07-03 10:09:01 +02:00
Kazhnuz
72a0b77212 fix: put the stats in an internal list
It'll allow us later to even drop the internal list and replace it by
automatic computation
2021-07-03 09:52:00 +02:00
Kazhnuz
7db0ad1b28 chore: use getter to get stat 2021-07-03 09:51:19 +02:00
Kazhnuz
c7b9d97c96 feat: add a stat manager object 2021-07-03 09:49:11 +02:00
Kazhnuz
b1e1ef614f chore: use constant for stat names 2021-07-03 08:56:57 +02:00
Kazhnuz
e7921a5acb chore: move ennemy.lua to a subfolder 2021-07-03 08:40:32 +02:00
Kazhnuz
1fb2469188 chore: rename getStatByType 2021-06-12 10:29:46 +02:00
Kazhnuz
011335ab1a Merge branch 'master' of https://git.kobold.cafe/sonic/sonic-radiance 2021-06-06 19:29:25 +02:00
Kazhnuz
8c41bce128 feat: add new table functions 2021-06-06 19:18:53 +02:00
Kazhnuz
7f22fb6ad1 feat: get debugLevel from commandline 2021-06-06 13:41:54 +02:00
Kazhnuz
d82621bf58 feat: pass command line args to birb 2021-06-06 13:41:34 +02:00
Kazhnuz
388c6f1ef9 fix:only load lovebird when launched in debug 2021-06-06 13:28:09 +02:00
Kazhnuz
1355b252df feat: give Amy a hitcombo skill 2021-06-06 13:19:38 +02:00
Kazhnuz
d00148c44e improvement: make spin attack the default attack 2021-06-06 13:19:25 +02:00
Kazhnuz
2cee948b31 feat: give spin animation to Amy and Tails 2021-06-06 13:18:49 +02:00
Kazhnuz
6f642b4f33 Merge branch 'master' of https://git.kobold.cafe/sonic/sonic-radiance 2021-06-02 08:41:25 +02:00
Kazhnuz
d6e6a52d36 feat: darken textboxes 2021-05-20 09:07:34 +02:00
Kazhnuz
98af0eda2a feat: add resistences and weaknesses 2021-05-16 10:06:20 +02:00
Kazhnuz
534517f0f3 chore: kill game.skills 2021-05-16 08:48:05 +02:00
Kazhnuz
e9c9cbb8e3 chore: put const files in a single folder 2021-05-16 08:38:09 +02:00
Kazhnuz
8c9f814370 fix: fix a crash 2021-05-16 08:36:06 +02:00
Kazhnuz
6818a441df chore: extract battle aglorythm in battleutils 2021-05-16 08:33:41 +02:00
Kazhnuz
e864e67717 chore: put stats constants together 2021-05-15 22:50:06 +02:00
Kazhnuz
c10d58e604 chore: port to parser system 2021-05-15 22:48:25 +02:00
Kazhnuz
aa9140406f feat: add a parser system 2021-05-15 22:48:09 +02:00
Kazhnuz
e3957edfa1 chore: move argument parsers into a single folder 2021-05-15 21:52:05 +02:00
Kazhnuz
f574bcd362 chore: use as much as possible the new data system 2021-05-15 21:43:15 +02:00
Kazhnuz
7f2135fd50 improvement: add skills to gamedata index 2021-05-15 21:42:55 +02:00
Kazhnuz
7629b60e45 fix(datapack): handle . in names 2021-05-15 21:40:12 +02:00
Kazhnuz
1310d9f5e8 feat: add indexes for some datas 2021-05-15 21:24:45 +02:00
Kazhnuz
4c098df30d feat: add data loading and indexing to birb 2021-05-15 21:24:29 +02:00
Kazhnuz
05169782a2 fix: fix lua files conversion to module 2021-05-15 19:49:11 +02:00
Kazhnuz
a1a130ae32 improvement: parse and validate hitboxes 2021-05-15 15:53:40 +02:00
Kazhnuz
792738c5cc feat: add table parsing 2021-05-15 15:50:15 +02:00
Kazhnuz
33d854ffd4 chore: make the datas utils a part of birb 2021-05-15 15:09:02 +02:00
Kazhnuz
1991b5005f improvement: use the new attack structure
Replace accuracy and isAerial by attacktype and element
2021-05-15 15:01:02 +02:00
Kazhnuz
a22871dcbc improvement: transform aerial badnic in protectype 2021-05-15 14:50:12 +02:00
Kazhnuz
eab1b4b456 fix: make aerial ennemies lower 2021-05-15 13:09:35 +02:00
Kazhnuz
487d14dece feat: make aerial ennemies able to avoir attacks 2021-05-09 15:08:46 +02:00
Kazhnuz
b9d324fa57 feat: add back step conditions 2021-05-09 15:08:36 +02:00
Kazhnuz
30cdda0970 fix: take z coordinate in account in gfx 2021-05-09 15:07:54 +02:00
Kazhnuz
034fb9cee6 feat: improve damage output drawing 2021-05-09 15:07:38 +02:00
Kazhnuz
cc66f86bd1 fix: take the ennemy z into account for qte 2021-05-09 15:06:29 +02:00
Kazhnuz
fe5e1f6d68 feat: add a spinner ennemy 2021-05-09 15:04:51 +02:00
Kazhnuz
b38a8c3910 fix: fix motobug's height 2021-05-09 15:04:17 +02:00
Kazhnuz
6a94215804 feat: add small letters to hudsmallnumbers 2021-05-09 15:03:57 +02:00
Kazhnuz
f94e6ca2f9 fix: fix btn 2021-05-08 19:10:30 +02:00
Kazhnuz
e3ebe05dec Merge branch 'master' of https://git.kobold.cafe/sonic/sonic-radiance 2021-05-08 18:42:49 +02:00
Kazhnuz
a0c14e0690 fix: fix attack choregraphy 2021-05-08 18:42:46 +02:00
Kazhnuz
8174f81146 improvement: better spindash choregraphy 2021-05-08 18:39:52 +02:00
Kazhnuz
dd9f3cb6e3 feat: add simple prompts 2021-05-08 18:39:40 +02:00
Kazhnuz
c30c3336c6 feat: rework serialization
Fixes #102
2021-05-08 12:54:07 +02:00
Kazhnuz
ff8cd856fd chore: port actors to rect and box 2021-05-07 19:23:34 +02:00
Kazhnuz
05a8b71180 chore: extract shapes from actor3D 2021-05-07 19:14:13 +02:00
Kazhnuz
0421bd4954 improvement: put automove in physic mixin 2021-05-07 19:07:18 +02:00
Kazhnuz
95ea526b53 chore: simplify hitbox application 2021-05-07 18:58:08 +02:00
Kazhnuz
c17338174b feat(actor): improve semantics 2021-05-07 18:33:56 +02:00
Kazhnuz
a856739a36 improvement: refactor hitbox management 2021-05-07 18:27:13 +02:00
Kazhnuz
f3a98592b3 improvement: use directly a table for box attr 2021-05-07 18:15:43 +02:00
Kazhnuz
3f81920c49 chore: let the hitbox handle the scaling 2021-05-07 18:10:37 +02:00
Kazhnuz
040240492e chore: pack and unpack the coordinates 2021-05-07 11:56:44 +02:00
Kazhnuz
edf44fd252 chore: extract physics as a mixins 2021-05-06 20:26:06 +02:00
Kazhnuz
33427077a0 chore: refactor the actor system 2021-05-06 16:08:08 +02:00
Kazhnuz
6c546e1e0e fix: fix function getActorsInRect 2021-05-06 11:21:01 +02:00
Kazhnuz
06f50c5e59 improvement: manage music via core.music 2021-05-05 14:49:14 +02:00
Kazhnuz
b00f73c37f feat: update utils to current birb 2021-05-05 14:36:34 +02:00
Kazhnuz
4054bbe443 improvement(debug): better logs 2021-05-05 13:15:50 +02:00
Kazhnuz
4d3687f627 feat: add enums 2021-05-05 13:15:12 +02:00
Kazhnuz
30a16b4e3f improvement: put all default config in conf.lua 2021-05-05 12:09:30 +02:00
Kazhnuz
61a3206a95 chore: put tweenmanager into the class folder 2021-05-05 11:41:25 +02:00
Kazhnuz
d165fc4181 feat: backport new shape classes 2021-05-05 09:07:07 +02:00
Kazhnuz
84f483f6b4 chore: separate birbcore in its own subfolder 2021-05-05 08:53:54 +02:00
Kazhnuz
76969e7686 chore: put asset types into a subfolder 2021-05-05 08:39:52 +02:00
Kazhnuz
8eb28383ab chore:put more libs in birb.libs 2021-05-05 08:37:41 +02:00
Kazhnuz
91c214ac15 fix: rename core to "birb" 2021-05-05 08:30:32 +02:00
Kazhnuz
ba7b4ce977 feat: add prompt system 2021-04-25 16:28:31 +02:00
Kazhnuz
f7afcdd5a9 feat: add a way to set color from hsv 2021-04-25 16:27:20 +02:00
Kazhnuz
2d1ea4c2a0 feat: add QTE drawing 2021-04-25 12:21:17 +02:00
Kazhnuz
6156837705 fix: use the right signal for QTE end 2021-04-25 12:20:12 +02:00
Kazhnuz
4f26969a4d fix: adapt to the new QTE functions 2021-04-25 12:19:46 +02:00
Kazhnuz
e3acafc824 feat: initial qte parent 2021-04-25 12:18:53 +02:00
Kazhnuz
4184ef37a8 feat: add QTE buttons, by fieryexplosions 2021-04-25 09:44:56 +02:00
Kazhnuz
18a86c3a0a feat: add ways to get info from timers 2021-04-25 09:22:40 +02:00
Kazhnuz
e4741bdc90 fix: bigger border for the main menu 2021-04-23 15:07:46 +02:00
Kazhnuz
9ea2e659d3 fix: fixes menus sounds
Fixes #96
Fixes #95
2021-04-23 11:10:52 +02:00
Kazhnuz
8abd42b020 feat: add sfx when entering/leaving menu 2021-04-23 11:00:09 +02:00
Kazhnuz
29eb2b5eb1 fix(debug): mention debug mode
Fixes #97
2021-04-23 10:58:04 +02:00
Kazhnuz
cd07a4e167 fix : always start on title screen 2021-04-23 10:49:31 +02:00
Kazhnuz
e172285410 fix: place correctly rings sparkles
Fixes #94
2021-04-23 10:26:03 +02:00
Kazhnuz
e5d8a7f874 feat: add the char page structure
Fixes #61
Fixes #62
2021-04-23 10:21:54 +02:00
Kazhnuz
f65edf1924 feat: add a way to remove equipment 2021-04-23 09:23:13 +02:00
Kazhnuz
50981a7823 feat: add a smaller border option for menus 2021-04-23 09:22:58 +02:00
Kazhnuz
6c451e7aee feat : add equip dialogs 2021-04-22 23:41:20 +02:00
Kazhnuz
0d4fe92a90 feat: basic equipements backend
Fixes #80
2021-04-22 20:03:46 +02:00
Kazhnuz
80748476de fix: separate equipment pockets 2021-04-22 19:46:19 +02:00
Kazhnuz
4ba49a5534 feat: add basic items 2021-04-22 19:45:31 +02:00
Kazhnuz
19432b3663 fix: more steep stats 2021-04-22 18:57:03 +02:00
Kazhnuz
2eddeefa1e improvement: use the inventory data file for equip
It'll allow us to do a simpler equipement system
2021-04-22 18:55:52 +02:00
Kazhnuz
1fe25f2ff1 chore: split AbstractCharacter into smaller mixins 2021-04-22 18:11:11 +02:00
Kazhnuz
855c2a2daf chore: better organisation for characters.lua 2021-04-22 17:44:19 +02:00
Kazhnuz
040f67d32c fix: use the origin for ysorting tiles 2021-04-21 21:17:34 +02:00
Kazhnuz
dd4d212721 feat: add GFX on the overworld
Fixes #91
2021-04-21 21:14:45 +02:00
Kazhnuz
2c2bee9409 feat: add confirmation dialog for item dropping 2021-04-21 19:11:52 +02:00
Kazhnuz
3b28c5b776 feat: add teleportation from leaving the map 2021-04-21 19:06:38 +02:00
Kazhnuz
d7b47933b3 feat(events): add direction option to teleporting 2021-04-21 18:46:30 +02:00
Kazhnuz
e50c9f6e54 feat: add interaction prompts
Fixes : #92
2021-04-21 18:36:20 +02:00
Kazhnuz
15bc5ae874 fix: dont walk when sliding 2021-04-21 17:20:09 +02:00
Kazhnuz
28ca276bf5 fix: better sfx 2021-04-21 17:12:56 +02:00
Kazhnuz
b3dd97a272 fix: adapt menus to new sfx code 2021-04-21 17:12:47 +02:00
Kazhnuz
85e687276f fix: only stop the music when it change 2021-04-21 17:12:20 +02:00
Kazhnuz
9a9615b120 improvement: improve the run/dash action 2021-04-21 16:54:42 +02:00
Kazhnuz
38c197a9fb feat: add sfx for terrains 2021-04-21 16:46:41 +02:00
Kazhnuz
021a2b08b2 chore: add a wrapper for sfx 2021-04-21 16:30:52 +02:00
Kazhnuz
e7878c1efa feat: add damage system
Fixes: #90
2021-04-19 18:04:29 +02:00
Kazhnuz
36e30be245 feat: handle ko characters on overworld
Preparation for full damage support
2021-04-18 19:59:03 +02:00
Kazhnuz
cd174e3153 feat: greyscale emblem for ko characters 2021-04-18 19:30:57 +02:00
Kazhnuz
706468dad6 feat: add initial difficulty system
Fixes #87
2021-04-18 19:09:01 +02:00
Kazhnuz
8e277d0505 fix: make text shadow follow its opacity 2021-04-18 18:29:20 +02:00
Kazhnuz
2bce318b96 feat: show health on overworld 2021-04-18 18:23:52 +02:00
Kazhnuz
a1d81b9170 feat: add a common message queue
Fixes #89
2021-04-18 17:44:00 +02:00
Kazhnuz
e62e97b2d7 feat: add terrain tests in the cave map 2021-04-18 16:37:06 +02:00
Kazhnuz
9523edb555 feat: add confirmation dialogs
Fixes #86
2021-04-18 16:36:40 +02:00
Kazhnuz
dbf14c59a3 feat: add internal mechanism to delete saves 2021-04-18 15:38:19 +02:00
Kazhnuz
37d685a7ea fix: don't update menus keycheck during transition
Fixes #88
2021-04-18 15:09:44 +02:00
Kazhnuz
df4ef549d6 chore: prepare for the dialog system 2021-04-18 14:56:27 +02:00
Kazhnuz
0529c14367 fix: add a one-element log system 2021-04-18 14:56:16 +02:00
Kazhnuz
32c72c18e9 feat: initial terrain collision system
Fixes #79
2021-04-18 12:34:30 +02:00
Kazhnuz
b16665a2b0 feat: scissor player when under the ground height 2021-04-18 11:03:34 +02:00
Kazhnuz
15973e491a feat: initial terrain data loading 2021-04-18 10:53:35 +02:00
Kazhnuz
a88b30dd9f feat: add a way to get the terrain at a point 2021-04-18 10:09:50 +02:00
Kazhnuz
45fc9005b5 feat: make ground level configurable 2021-04-18 10:09:17 +02:00
Kazhnuz
dd841a4435 chore: remove stray print 2021-04-11 15:18:47 +02:00
Kazhnuz
f700eaa8f8 fix: add sound to punch and dash 2021-04-11 11:08:59 +02:00
Kazhnuz
ddcd393d2a fix: add sound to every menus
Fixes #85
2021-04-11 10:32:49 +02:00
Kazhnuz
34e2bbead7 fix(actor): remove a wrong arg to drawStanding
Fixes #84
2021-04-11 09:58:21 +02:00
Kazhnuz
705d07abb6 fix: better collisions
Fixes #83
2021-04-11 09:57:44 +02:00
Kazhnuz
cd0190f065 feat: add a basic "punch" action
Fixes #78
2021-04-10 20:47:34 +02:00
Kazhnuz
84af3076f2 feat: add dash/run 2021-04-10 19:32:41 +02:00