Commit graph

858 commits

Author SHA1 Message Date
Kazhnuz
cf4a8bcd92 chore: fix overworld class name 2021-03-21 16:20:13 +01:00
Kazhnuz
78784c27b3 fix(overworld): refactor the actor drawing system 2021-03-21 16:19:28 +01:00
Kazhnuz
0f08296cf3 feat: use lazy loading with charset 2021-03-21 15:56:35 +01:00
Kazhnuz
16d1f68805 feat: add the event system 2021-03-20 21:08:54 +01:00
Kazhnuz
91fee0a856 feat: add the gizmo system 2021-03-20 17:23:14 +01:00
Kazhnuz
f7f1a772f7 feat: add message engine on overworld 2021-03-20 17:10:09 +01:00
Kazhnuz
c8803585a1 improvement: ditto 2021-03-20 16:36:32 +01:00
Kazhnuz
f4a24903a2 improvement: some map update 2021-03-20 16:36:18 +01:00
Kazhnuz
3ede8e6654 feat:add depth based on y position 2021-03-20 16:35:38 +01:00
Kazhnuz
e22a293f03 feat:make actor able to load sti properties 2021-03-20 16:08:10 +01:00
Kazhnuz
3ab7771352 feat: add support for tile collision and overlay 2021-03-14 18:21:44 +01:00
Kazhnuz
78d50eaf94 improvement: some boss improvements 2021-03-14 10:15:16 +01:00
Kazhnuz
04c2f53ec6 fix: fix health leaf 2021-03-13 18:09:46 +01:00
Kazhnuz
c83eb7ee61 feat: add flee system 2021-03-13 18:00:39 +01:00
Kazhnuz
e32cd09804 feat: handle better not usable items
Fixes #69
2021-03-13 17:28:46 +01:00
Kazhnuz
17b3e4e172 feat: handle better not having enough pp
Fixes #68
2021-03-13 17:28:25 +01:00
Kazhnuz
c521ae3c58 fix: mark battle items as unusable outside battle 2021-03-13 17:27:17 +01:00
Kazhnuz
5c0f4dd48a feat: add a way to colorize widgets 2021-03-13 17:26:36 +01:00
Kazhnuz
dbdc2b9b18 feat: add a way to show messages on battles
Fixes #67
2021-03-13 17:26:05 +01:00
Kazhnuz
db1c3005cb feat: add defend action
Fixes #51
2021-03-13 15:49:21 +01:00
Kazhnuz
58989e974d feat: add use and drop item support 2021-03-13 14:11:04 +01:00
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