Commit graph

219 commits

Author SHA1 Message Date
Kazhnuz
f7e1beae68 fix: make the box of boxedmenu part of its texture 2022-01-02 15:18:23 +01:00
Kazhnuz
e35d89f21e fix: remove an use of scissor for hp bars 2022-01-02 10:02:48 +01:00
Kazhnuz
b779a55eb7 feat: ajouter un peu de marge au menu fancy 2021-12-31 15:40:30 +01:00
Kazhnuz
1ab9159120 fix: make sure overlay state reset when it must 2021-12-05 17:50:41 +01:00
Kazhnuz
205028718a feat: add a prompt system to the RadianceScene 2021-09-18 21:27:14 +02:00
Kazhnuz
2932a7d85a improvement: port the cbs menus and gui
Make them handled by a single screen, removing a lot of dispersed
drawing code in the turns handler
2021-09-16 22:26:59 +02:00
Kazhnuz
a6ff9b2ca2 improvement: make messages part of RadianceScene 2021-09-16 21:18:57 +02:00
Kazhnuz
9acb3b303b feat: make the messagequeue a GuiElement 2021-09-12 10:00:41 +02:00
Kazhnuz
0fe46dea91 feat: add way to draw empty icons 2021-09-12 09:57:57 +02:00
Kazhnuz
486aa019d7 feat: add an element using the choice backgrounds 2021-09-12 09:57:47 +02:00
Kazhnuz
4a84d2dc53 improvement: better wrapper handling in guiElement 2021-08-31 23:47:01 +02:00
Kazhnuz
4ccb055672 feat: add overlay darkening 2021-08-31 19:13:17 +02:00
Kazhnuz
e0ebc4969c feat: initial gui version of gameover 2021-08-31 19:12:56 +02:00
Kazhnuz
83a89dc69b feat: initial gui version of radiance's menus 2021-08-31 19:12:40 +02:00
Kazhnuz
759daf5ec0 improvement: port confirmdialog to Gui 2021-08-31 19:02:43 +02:00
Kazhnuz
28f41fcc49 feat: get skillname from character 2021-08-31 10:57:34 +02:00
Kazhnuz
700eebd395 feat(game): add gui sfx to radiance's scene 2021-08-30 23:52:45 +02:00
Kazhnuz
c37048a49a improvement: make menuback a gui element 2021-08-26 23:27:43 +02:00
Kazhnuz
5f1a9d20d0 feat: add overlay 2021-08-26 23:27:21 +02:00
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
e211c779a2 fix: regenerate skill liste after deserialization 2021-08-20 23:15:35 +02:00
Kazhnuz
7ec3bfa065 chore: general cleanup 2021-08-15 20:45:15 +02:00
Kazhnuz
687d187fe3 chore: merge menus' folders 2021-08-15 16:26:05 +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
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
91dda9fa87 fix: remove forgotten unused function 2021-08-08 09:53:48 +02:00
Kazhnuz
f7221971c3 improvement: use the predicate system for events 2021-07-17 20:09:05 +02:00
Kazhnuz
6a37f12776 chore: remove stray print 2021-07-03 18:19:08 +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
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
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
6818a441df chore: extract battle aglorythm in battleutils 2021-05-16 08:33:41 +02:00