Commit graph

787 commits

Author SHA1 Message Date
Kazhnuz
608f582cdf feat: add useitem screen 2021-03-13 13:59:12 +01:00
Kazhnuz
9d85fb2827 feat: add a way to get pocket id 2021-03-13 13:51:43 +01:00
Kazhnuz
a95c562a7f chore: extract character menu and widgets 2021-03-12 22:17:33 +01:00
Kazhnuz
f72c416f57 feat: add healing and setStatut effect support 2021-03-12 21:51:10 +01:00
Kazhnuz
32d5aae8ef improvement: revival ring should heal 25% of HP 2021-03-12 21:50:57 +01:00
Kazhnuz
99c4090698 feat: add duration support 2021-03-12 21:50:45 +01:00
Kazhnuz
b7a0ec7c7b feat: add revival support 2021-03-12 21:50:27 +01:00
Kazhnuz
c6b04006da feat: add the wiring to handle item usage in battle
Fixes #44
Fixes #45
2021-03-12 21:14:17 +01:00
Kazhnuz
7b375bfed2 feat: add item removal functions 2021-03-12 20:54:45 +01:00
Kazhnuz
3353ae7d37 improvement: add blue-colored damage nbr for pp 2021-03-12 20:12:20 +01:00
Kazhnuz
4bf4fdb541 improvement: better handling of statusbar callback 2021-03-12 20:05:54 +01:00
Kazhnuz
db9319fc90 feat: add pp cost 2021-03-12 20:03:00 +01:00
Kazhnuz
e862766fea feat: adapt parent to new functions 2021-03-12 19:23:11 +01:00
Kazhnuz
69d296b2f7 feat: initial statuse system 2021-03-12 18:51:35 +01:00
Kazhnuz
ef788afd70 feat: add boss hp bar
Fixes #25
2021-03-11 23:47:32 +01:00
Kazhnuz
2f5c57f3d2 fix: remove forgotten test 2020-10-05 22:42:02 +02:00
Kazhnuz
a0c3dcea76 fix(menus): better cursor and widgets positionning 2020-10-04 09:34:37 +02:00
Kazhnuz
d00bc782ba fix(pause): indicate cancelWidget 2020-10-04 09:31:06 +02:00
Kazhnuz
d38d149e36 feat: add hp/pp bar everywhere
* Add a ComplexHPBar widget
* Use it on the CBS
* Add it on the character page
* Add it on the character widget

Fix #46
2020-10-04 09:26:49 +02:00
Kazhnuz
55f7964fbc fix(pause): force visibility of the main menu
It make sure that the menu will be visible when the pause view
is started with the character menu selected
2020-10-03 14:36:38 +02:00
Kazhnuz
bad24445a7 feat(items): initial actions menu 2020-10-03 14:33:10 +02:00
Kazhnuz
68da70f7bf feat(menu): add update function when selected
It allow the engine to add an action that'll done each step on selected
widget
2020-10-03 14:32:41 +02:00
Kazhnuz
cf396e9464 feat: add effect description
Fix #58
2020-09-19 11:10:20 +02:00
Kazhnuz
94e384ee27 Fix: fix some class name errors 2020-09-13 16:59:24 +02:00
Kazhnuz
ea4f3a926c fix: various fix for zSortItem 2020-09-13 16:58:42 +02:00
Kazhnuz
250d75ee77 fix: mark as local some forgotten local variables 2020-09-13 16:57:06 +02:00
Kazhnuz
877de98f67 fix: remove some call to non-existing variables 2020-09-13 16:49:50 +02:00
Kazhnuz
0114927ac0 fix(utils): add the method arguments to setSize 2020-09-13 13:29:12 +02:00
Kazhnuz
bc45f866c2 fix: fix the actor in rect query
* use x2/y2 as secondary limit comparison
* return the query and not an non-initilized variable
2020-09-13 13:28:41 +02:00
Kazhnuz
ef4bf26ba6 feat: initial effect manager system 2020-09-13 13:25:44 +02:00
Kazhnuz
3f265c0b5d fix: don't forget to return the Pocket class 2020-09-13 13:15:12 +02:00
Kazhnuz
3c0a5f2c35 fix: remove dead code 2020-09-13 10:09:07 +02:00
Kazhnuz
a8ae9ca5ba chore: refactor a bit items 2020-09-13 10:03:43 +02:00
Kazhnuz
b2c9c1d79a feat: more available items 2020-09-13 09:59:14 +02:00
Kazhnuz
436e64ca4a meta: add some settings for vscode 2020-09-13 09:58:06 +02:00
Kazhnuz
cf5da3177d feat: add the page system for the character view
Fix #59
2020-08-29 17:26:38 +02:00
Kazhnuz
b28d9bf624 feat: basic item menu
Fix #48
2020-08-29 11:36:59 +02:00
Kazhnuz
6f19e8dddd improvement: improve spacing management 2020-08-28 00:26:12 +02:00
Kazhnuz
a9b76503b8 improvement: add basic layout const for menus 2020-08-27 19:05:00 +02:00
Kazhnuz
8dbd8b45a8 feat: add save/exit and resume
Fix #54
2020-08-27 08:44:21 +02:00
Kazhnuz
717d7c57c0 feat: initial version of the character screen 2020-08-26 18:38:40 +02:00
Kazhnuz
ab0c325956 fix(screens): set menu after the old is removed 2020-08-23 12:06:18 +02:00
Kazhnuz
722c69d733 feat: add switching from main/character menu
Fix #53
2020-08-23 10:40:06 +02:00
Kazhnuz
1136bc1fd6 improvement: better main menu
Fix #49
2020-08-23 10:19:27 +02:00
Kazhnuz
aa46d3d47a fix: focus the main menu when the start menu is called
Fix #52
2020-08-23 10:14:24 +02:00
Kazhnuz
858df09143 fix: show upper half of the cursor on characters
Fix #43
2020-08-23 09:53:10 +02:00
Kazhnuz
e6cf6b5761 fix: always use fullname
Fix #50
2020-08-23 08:53:44 +02:00
Kazhnuz
5139d9727d fix: add damage number system
Fix #39
2020-08-22 23:53:13 +02:00
Kazhnuz
4ff4c989d4 fix: correctly apply death at start of battle
Fix #28
2020-08-22 23:28:05 +02:00
Kazhnuz
9326a5dc91 fix: change the randomseed before each battle
Fix #42
2020-08-22 23:17:25 +02:00