Commit graph

856 commits

Author SHA1 Message Date
Kazhnuz
c586fb733d fix: replace drawAnimation by draw 2021-08-21 17:05:49 +02:00
Kazhnuz
7218b7892e feat: add a parent scene class for the game 2021-08-21 17:00:42 +02:00
Kazhnuz
9ff9a53d2a wip: initial version of the GUI 2021-08-21 12:45:49 +02:00
Kazhnuz
1d2de11bc1 feat: add util to remove table content with a func 2021-08-21 09:42:02 +02:00
Kazhnuz
e211c779a2 fix: regenerate skill liste after deserialization 2021-08-20 23:15:35 +02:00
Kazhnuz
167491ecaa chore: make the scene handle its manager 2021-08-20 23:02:18 +02:00
Kazhnuz
2f6ab59cd6 chore: more cleanup 2021-08-15 20:50:13 +02:00
Kazhnuz
7ec3bfa065 chore: general cleanup 2021-08-15 20:45:15 +02:00
Kazhnuz
ff752b3c02 improvement: harmonize game over screens 2021-08-15 20:37:12 +02:00
Kazhnuz
44f2bae574 improvement: use a confirm dialog for game over
Fixes #41
2021-08-15 17:41:39 +02:00
Kazhnuz
cb6bd66174 chore: completely redo the fighters organisation 2021-08-15 16:50:53 +02:00
Kazhnuz
34e1558f18 chore(cbs): put turns at the root 2021-08-15 16:41:33 +02:00
Kazhnuz
b513ed8ace chore(cbs): put choregraphy folder at the root 2021-08-15 16:34:36 +02:00
Kazhnuz
d66b7003ba chore(cbs): put all gui stuff into gui/ 2021-08-15 16:31:08 +02:00
Kazhnuz
687d187fe3 chore: merge menus' folders 2021-08-15 16:26:05 +02:00
Kazhnuz
e5742fa500 chore: remove commons assets from assetpacks 2021-08-15 16:13:20 +02:00
Kazhnuz
7a0eeaed1a chore: place all asset pack in asset folder 2021-08-15 16:01:25 +02:00
Kazhnuz
3d3fdc44c0 chore: make subgame worlds part of subgame folder 2021-08-15 15:39:16 +02:00
Kazhnuz
5b061fc797 chore: merge game utils folder 2021-08-15 15:36:26 +02:00
Kazhnuz
fc2642c95b feat: add statuses icons 2021-08-15 15:31:28 +02:00
Kazhnuz
f146736869 feat: add Blue Tornado and Sonic Wind 2021-08-15 15:30:52 +02:00
Kazhnuz
76ad185db8 feat: add support for alternative skill name 2021-08-15 15:30:20 +02:00
Kazhnuz
39507951b8 feat: add a way to override GFX by character 2021-08-15 15:25:44 +02:00
Kazhnuz
603d61a1fc gfx: autoload gfxes when they are created 2021-08-15 14:49:03 +02:00
Kazhnuz
0acce516c8 fix: clean up itemboxes sprites 2021-08-15 14:20:47 +02:00
Kazhnuz
06b0fb76ba feat: use the new statuses data 2021-08-13 20:14:34 +02:00
Kazhnuz
a53e367e01 feat: prepare for more complex statuses 2021-08-13 19:25:26 +02:00
Kazhnuz
6e93a11fef feat: add statuses stat effect 2021-08-08 16:00:45 +02:00
Kazhnuz
dfa1d659ff fix: use right args for loadChoregraphyFromSkill 2021-08-08 14:52:41 +02:00
Kazhnuz
bce27e8564 feat: add a center source 2021-08-08 14:49:34 +02:00
Kazhnuz
db4116f330 fix: replace wrong function 2021-08-08 14:49:22 +02:00
Kazhnuz
3e2eafb63d feat: add subchoregraphies 2021-08-08 13:11:36 +02:00
Kazhnuz
47a9353471 fix: delete timer before calling the response 2021-08-08 13:01:58 +02:00
Kazhnuz
8b785eb0a3 feat: support multiple target for skills 2021-08-08 11:34:54 +02:00
Kazhnuz
91dda9fa87 fix: remove forgotten unused function 2021-08-08 09:53:48 +02:00
Kazhnuz
01b450fef7 chore: divide choregraphy into mixins 2021-08-08 09:49:43 +02:00
Kazhnuz
9321eb411f fix : some jump fixes 2021-08-07 18:48:01 +02:00
Kazhnuz
daae72dd8a feat: add ysorting to battlesystem 2021-08-07 17:21:26 +02:00
Kazhnuz
a67d1f0824 feat: add actor targeting for choregraphy movement 2021-08-07 13:36:13 +02:00
Kazhnuz
dac38cb49e feat: show the table we can't parse 2021-08-07 12:13:30 +02:00
Kazhnuz
5d157e5251 feat: index gfx according to their tagged action 2021-08-07 12:02:28 +02:00
Kazhnuz
e30ab97e96 feat: add an index in the battlesystem world 2021-08-07 11:57:01 +02:00
Kazhnuz
c9644b2e86 improvement: make GFX movable
It'll be usefull to make everything movable
2021-08-07 11:47:26 +02:00
Kazhnuz
44cda944f5 fix: make landing work 2021-08-07 11:39:34 +02:00
Kazhnuz
28a869a42e feat: make that any actor can block choregraphy 2021-08-07 11:28:27 +02:00
Kazhnuz
bccc71ec58 chore: make movable less tied to battler 2021-08-07 11:14:08 +02:00
Kazhnuz
a418ecfb21 chore: refactor Movable 2021-08-07 11:09:49 +02:00
Kazhnuz
062070faae chore: remove tweener-based movement 2021-08-07 10:40:07 +02:00
Kazhnuz
80d18a2825 improvement: port goTo3D to motion 2021-08-07 10:36:44 +02:00
Kazhnuz
ee1995b91b improvement: add vertical motion to motion 2021-08-07 10:26:29 +02:00
Kazhnuz
0c4e960ec9 improvement: use target and motion for goTo 2021-08-07 10:07:11 +02:00
Kazhnuz
58e68f0191 feat: add target-base movement 2021-08-07 00:05:07 +02:00
Kazhnuz
0d33d8b9c8 chore: merge speed and gspeed 2021-08-07 00:04:49 +02:00
Kazhnuz
8dd4e7ba62 improvement: use a 360 motion system 2021-08-06 23:47:20 +02:00
Kazhnuz
4379f55f27 chore: extract movable from Battler 2021-08-06 20:18:48 +02:00
Kazhnuz
b5bfc30d0b chore: start improving doc 2021-07-28 13:42:23 +02:00
Kazhnuz
406055d35e fix: better requiring of utils 2021-07-28 10:16:27 +02:00
Kazhnuz
6302d80182 fix: handle depreciations 2021-07-28 10:14:12 +02:00
Kazhnuz
85ffa8c735 feat: add an homming attack GFX 2021-07-27 13:09:20 +02:00
Kazhnuz
47301e3bb3 improvement: support 3D positionning for gfx 2021-07-27 12:45:41 +02:00
Kazhnuz
8bb5501a0b qtebtn : add directions buttons 2021-07-22 13:38:01 +02:00
Kazhnuz
e01ad1605c improvement: add a last hit to hitcombo 2021-07-19 12:28:22 +02:00
Kazhnuz
37c922dd10 improvement: add frame signals to upper anim 2021-07-19 12:28:10 +02:00
Kazhnuz
bd6a877c5a feat: improve homming attack damages 2021-07-19 12:27:39 +02:00
Kazhnuz
800a025318 feat: remove stray print 2021-07-19 12:16:34 +02:00
Kazhnuz
10fbc7be6f fix: fix missing function in qteFailure 2021-07-19 12:13:24 +02:00
Kazhnuz
d5dec73e7e fix: add setAnimSpeed to Parent entity in cbs 2021-07-19 12:12:45 +02:00
Kazhnuz
a61b2e1453 feat: add an action to change anim speed inbattle 2021-07-19 12:09:21 +02:00
Kazhnuz
07fc1efc8a feat: handle changing animations speed 2021-07-19 12:08:53 +02:00
Kazhnuz
3b53d62ca1 feat: add direction button to qte 2021-07-18 19:17:56 +02:00
Kazhnuz
11503feac5 feat: receive frame signal from the actor 2021-07-18 19:17:45 +02:00
Kazhnuz
eabd1a3a8c feat: add signal on some frames 2021-07-18 19:16:35 +02:00
Kazhnuz
cf7be0cb55 feat: add stopMov step action 2021-07-18 18:57:54 +02:00
Kazhnuz
26ba64218b fix: remove input lag from QTE 2021-07-18 18:26:15 +02:00
Kazhnuz
6626dbebdf improvement: port skills to latest API 2021-07-18 14:09:39 +02:00
Kazhnuz
cd59f8d74e feat: add homming attack 2021-07-18 14:09:24 +02:00
Kazhnuz
3a3c864037 feat(choregraphy): test latest qte by default 2021-07-18 14:09:09 +02:00
Kazhnuz
a286124703 fix: switch step immediatly after the previous one
Will solve potential input lag issues
2021-07-18 14:08:45 +02:00
Kazhnuz
c121a35f90 feat(choregraphy): add new 3D-based steps 2021-07-18 14:08:07 +02:00
Kazhnuz
99380cc74e fix(cbs): add z coordinate to cbs entity 2021-07-18 14:05:41 +02:00
Kazhnuz
bc9215fae8 improvement(battler): rework 3D actions 2021-07-18 14:04:24 +02:00
Kazhnuz
0f327d1de2 fix: initialize z value for the ennemy 2021-07-18 14:03:58 +02:00
Kazhnuz
90976b7217 fix: remove stray print 2021-07-18 09:45:08 +02:00
Kazhnuz
f60e56bf2e feat(battler):add ways to stop moving 2021-07-18 09:34:05 +02:00
Kazhnuz
14e93a2880 improvement(time): add support for named tweens 2021-07-18 09:33:26 +02:00
Kazhnuz
eedf981c54 feat: add counter system for choregraphy 2021-07-18 08:59:01 +02:00
Kazhnuz
5b0dde30e0 improvement: refactor jumping 2021-07-18 08:47:37 +02:00
Kazhnuz
ed099bd77f feat: add way to skip to a step 2021-07-17 22:59:12 +02:00
Kazhnuz
627a7ea1e6 feat: add a waitFor qte Step 2021-07-17 21:55:14 +02:00
Kazhnuz
d7a15d4d91 feat: add conditions for finished actions 2021-07-17 21:53:10 +02:00
Kazhnuz
deda8a7a76 improvement: port battlesystem to predicate 2021-07-17 21:31:42 +02:00
Kazhnuz
4445fec8d2 feat: wire up tags 2021-07-17 21:23:29 +02:00
Kazhnuz
09ac826f34 feat: add API to report finished tag actions 2021-07-17 21:23:08 +02:00
Kazhnuz
0377077ca9 feat:detect tagged actions and handle tags 2021-07-17 21:19:33 +02:00
Kazhnuz
f7221971c3 improvement: use the predicate system for events 2021-07-17 20:09:05 +02:00
Kazhnuz
d2db4e91a3 feat: add predicate system 2021-07-17 20:07:43 +02:00
Kazhnuz
7940d9c74c feat: mark potentially async choregraphy step 2021-07-17 10:15:24 +02:00
Kazhnuz
bda80d4f20 feat: add new animations for Sonic 2021-07-17 09:58:04 +02:00
Kazhnuz
725cf66c33 feat: new amy animation 2021-07-04 11:44:04 +02:00
Kazhnuz
4a8ea25b7e feat: ajout d'un viewer des animations 2021-07-04 11:43:46 +02:00
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