Commit graph

489 commits

Author SHA1 Message Date
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
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
Kazhnuz
5d90ead710 feat: add basis for item handling 2020-08-22 23:10:22 +02:00
Kazhnuz
83eef941bb fix: use a less annoying test music for battles 2020-08-22 15:47:06 +02:00
Kazhnuz
b82900b3b9 fix: import gui in ListMenu 2020-08-22 10:55:02 +02:00
Kazhnuz
e221a36e74 feat: first try of a start menu 2020-08-20 15:39:02 +02:00
Kazhnuz
38a1d4b07d feat: port battle menu to new menusystem
Fix #38
2020-08-20 15:33:28 +02:00
Kazhnuz
508b044669 fix: lock inputs between scenes 2020-08-20 10:34:39 +02:00
Kazhnuz
e962396ee1 improvement: port the pause menus to the new menu system 2020-08-20 10:17:46 +02:00
Kazhnuz
cb626bfa4a improvement: port the options to the new system 2020-08-19 23:25:36 +02:00
Kazhnuz
78fca02441 improvement: port the debug menu to the new framework 2020-08-19 20:44:38 +02:00
Kazhnuz
625123813c feat: initial work on a common menu framework 2020-08-19 20:44:08 +02:00
Kazhnuz
b5dc4daaf5 fix: make shadow font filter works 2020-08-19 19:43:10 +02:00
Kazhnuz
c0daa4e0cb improvement: make assets work better togethers 2020-08-19 19:42:38 +02:00
Kazhnuz
9492e2f7ea feat: new battlesystem choice boxe
Fix #35
2020-08-18 23:46:11 +02:00
Kazhnuz
61639b86d0 feat: go back to debug menu when pressing start 2020-08-16 11:18:51 +02:00
Kazhnuz
5c93295a41 feat: add parallax background to title screen 2020-08-16 11:17:13 +02:00
Kazhnuz
e8e5ba9a76 fix: don't jump at minigame start 2020-08-16 11:03:06 +02:00
Kazhnuz
70ed18202d feat: backport code from bluestreak
It'll give us the following features
- Support for autorun in shoot-style maps
- Pause menu in subgames
- Chunk in shoot maps
- Rings
2020-08-16 10:52:00 +02:00
Kazhnuz
849d3ce537 chore: reorganize scenes 2020-08-16 09:54:11 +02:00
Kazhnuz
abc415c7f3 feat: initial work on inventory system 2020-08-15 22:43:46 +02:00
Kazhnuz
a016a2fb31 fix: copy instead of just require dataset 2020-08-07 13:26:29 +02:00
Kazhnuz
04ae4ef657 feat: add cheapEffect
Fix #26
2020-08-07 13:15:04 +02:00
Kazhnuz
58cd72ac45 feat: add basic game over scene 2020-08-07 11:17:10 +02:00
Kazhnuz
053c9ca641 fix: floor hp and pp 2020-08-07 07:32:16 +02:00
Kazhnuz
fbcf352a51 tweak: better spacing for SA2 font 2020-08-07 07:32:00 +02:00
Kazhnuz
697426f4d1 feat: finish victory screen
Fix #11
2020-08-06 19:10:54 +02:00
Kazhnuz
d9237b9383 feat: add more content to the battle finished screen 2020-08-06 16:37:06 +02:00
Kazhnuz
8421b8ae97 fix: some slight balancing work 2020-08-05 12:03:31 +02:00
Kazhnuz
b530a09119 feat: add badnics icon 2020-08-05 11:54:39 +02:00
Kazhnuz
a2d0975cde feat: add damage and ko
Fix #27
2020-08-05 11:40:29 +02:00
Kazhnuz
7be7f6205d chore: put the character level 10 2020-08-05 09:28:22 +02:00
Kazhnuz
ed70bb6550 feat: add basic ennemy attack system
Fix #8
2020-08-05 09:25:38 +02:00
Kazhnuz
b1a7bdc2af feat: make ennemies able to be choregraphied 2020-08-04 23:21:45 +02:00
Kazhnuz
a686baf089 fix: don't hardcode directions 2020-08-04 22:40:58 +02:00
Kazhnuz
fb9d86999f feat: add sprites to ennemies
Fix #24
2020-08-04 22:19:11 +02:00
Kazhnuz
d6b62a41e2 fix: improve bevel
Fix #23
2020-08-04 19:53:11 +02:00
Kazhnuz
5d34f55b23 feat: improve battle hud spacing
Fix #22
2020-08-04 18:50:36 +02:00
Kazhnuz
58264e2a19 feat: add battle definition files
Fix #9
2020-08-04 17:50:03 +02:00
Kazhnuz
1935659378 feat: add a data utils 2020-08-04 16:55:09 +02:00
Kazhnuz
b8e8473fba fix: use the right name for classic ennemies' category 2020-08-04 16:54:39 +02:00
Kazhnuz
69d67b97d8 chore: make character utils part of game utils 2020-08-04 13:38:45 +02:00
Kazhnuz
216a047d3a fix: add subfolder for ennemies 2020-08-04 13:32:23 +02:00
Kazhnuz
871ccb250f improvement: make the choregraphy viewer ennemy-oriented 2020-08-04 12:27:33 +02:00
Kazhnuz
b5c6cf0b1f feat: add basic choregraphy system
Fix #12
2020-08-03 17:59:44 +02:00
Kazhnuz
f867cba68d fix: some clean-up to help the choregraphy viewer 2020-08-03 17:38:30 +02:00
Kazhnuz
2509708067 chore: add basis of the new choregraphy viewer 2020-08-03 11:50:39 +02:00
Kazhnuz
751951f734 feat: add the heroes style of switching characters
Fix #20
2020-08-03 10:28:18 +02:00
Kazhnuz
11e40da8af improvement: use the new mini emblem on minigames
Fix #21
2020-08-03 09:44:25 +02:00
Kazhnuz
cfbe2f4b90 chore: extract emblem from statusbar 2020-08-03 09:34:23 +02:00
Kazhnuz
955d8d33d9 chore: make the statusbar independant of the battle system 2020-08-03 09:24:52 +02:00
Kazhnuz
786dc78a13 chore: make simplehpbar and statusbar part of common stuff 2020-08-03 09:11:31 +02:00
Kazhnuz
4bb4c14198 feat: add leader change to overworld
Fix #18
2020-08-03 08:59:04 +02:00
Kazhnuz
693150029c feat: add a team management panel
Fix #10
2020-08-02 23:47:42 +02:00
Kazhnuz
d0229f8aff improvement: use the first team member on battle/shoot maps 2020-08-02 22:00:50 +02:00
Kazhnuz
d3cb2c9052 feat: add Tails and Amy to the charset 2020-08-02 21:55:37 +02:00
Kazhnuz
b2fe9e62cd feat: add Tails and Amy
Fix #7
2020-08-02 21:32:45 +02:00
Kazhnuz
65cde3c42b feat: handle stat a bit differently 2020-08-02 21:26:49 +02:00
Kazhnuz
4bd178112f fix: restore music and voice on battle 2020-08-02 21:00:09 +02:00
Kazhnuz
242e90c803 fix: make emblem and icon character-dependent 2020-08-02 16:43:15 +02:00
Kazhnuz
e05b04357d feat: add rings
Fix #13
2020-08-02 15:56:36 +02:00
Kazhnuz
267359865e improvement: better option menu 2020-08-02 13:47:27 +02:00
Kazhnuz
c4fb3975c1 chore: remove lang menu
Fix #2
2020-08-02 13:43:45 +02:00
Kazhnuz
5e39c836ec fix: order player keys
Fix #6
2020-08-02 13:41:58 +02:00
Kazhnuz
16f3ea023b fix: make gui functions return a texture
Fix #14
2020-08-02 13:29:41 +02:00
Kazhnuz
b799586a4c feat: add more info to character panel 2020-08-02 11:04:49 +02:00
Kazhnuz
64947f145e feat: add a panel for character data 2020-08-02 10:33:31 +02:00
Kazhnuz
cf377f15b8 feat: make possible to load all Battle maps 2020-08-02 10:18:40 +02:00
Kazhnuz
5d83f2ba12 fix: fix club rouge name 2020-08-02 10:18:14 +02:00
Kazhnuz
f83c67f96a feat: add save read/write 2020-08-02 09:59:47 +02:00
Kazhnuz
e9c7026dcb feat: add an information panel 2020-08-02 08:30:19 +02:00
Kazhnuz
df2716b3df fix: some various fixes 2020-08-01 20:49:06 +02:00
Kazhnuz
3a9ac247fc feat: add basic charset handling 2020-08-01 18:54:12 +02:00
Kazhnuz
8768e36334 feat: add bases of the future overworld system 2020-08-01 16:57:12 +02:00
Kazhnuz
ce5cb1298f improvement: make option menu a bit less plain 2020-08-01 16:32:09 +02:00
Kazhnuz
459f4905c7 feat: add basic option menu 2020-08-01 16:06:08 +02:00
Kazhnuz
efa7909f83 fix: better backgrounds 2020-08-01 14:07:35 +02:00
Kazhnuz
cb5f9eec5a feat: background viewer 2020-08-01 14:01:08 +02:00
Kazhnuz
1ec185cc3a improvement: use a common object for parallax handling 2020-08-01 13:34:39 +02:00
Kazhnuz
55eca74922 feat: add a way to test Shadow Shot style maps 2020-08-01 12:53:06 +02:00
Kazhnuz
0984ce370e chore: make the scene change widget a common element 2020-08-01 12:50:11 +02:00
Kazhnuz
4b9ba5eed6 feat: add basic debug menu 2020-08-01 10:31:09 +02:00
Kazhnuz
a3cf5bef63 fix: make widget item colorable 2020-08-01 09:29:13 +02:00
Kazhnuz
227b2bbf1e feat: add qte base 2020-07-31 21:00:31 +02:00
Kazhnuz
b95ad72dcb feat: add basic qte framework 2020-07-31 20:06:35 +02:00
Kazhnuz
e26597c10a feat: add a small smoke asset 2020-07-31 20:05:22 +02:00
Kazhnuz
6cf1df4d5b feat: improve HUD and menus placement 2020-07-25 17:50:44 +02:00
Kazhnuz
b247e9cc96 feat: improve a bit the choregraphies 2020-07-25 17:07:53 +02:00
Kazhnuz
f3d44e06d1 feat: add a way to wait for the end of something already started 2020-07-25 17:03:37 +02:00
Kazhnuz
e72fa0cc7f fix: drop spin jump and revamp a bit the spindash 2020-07-25 16:47:58 +02:00
Kazhnuz
cce03643f6 improvement: revamp the whole motion system 2020-07-25 16:47:29 +02:00
Kazhnuz
7364e5c206 feat: add more coordinate system 2020-07-25 16:46:46 +02:00
Kazhnuz
1acada1b51 fix: re-add victory condition 2020-07-25 12:15:50 +02:00
Kazhnuz
40b362543a fix: only get potential targets for the selection system 2020-07-25 12:09:50 +02:00
Kazhnuz
d40112ba31 improvement: handle better defeated fighter turns 2020-07-25 12:03:14 +02:00
Kazhnuz
4ab2e72231 fix: make nil action and choregraphy when they are finished 2020-07-25 11:38:59 +02:00
Kazhnuz
b9816706e5 fix: don't print input
It's not really useless for debut for now
2020-07-25 11:22:41 +02:00
Kazhnuz
08c5724e96 fix: remove calling of deleted old choregraphy system 2020-07-25 11:20:18 +02:00
Kazhnuz
808108c3f3 chore: remove the old choregraphy system 2020-07-25 11:18:00 +02:00
Kazhnuz
6a64126db3 fix: improve skills choregraphy 2020-07-25 10:25:14 +02:00
Kazhnuz
6e012ba46c fix: replace actor after choregraphy 2020-07-25 10:25:00 +02:00
Kazhnuz
df6e283013 fix: last missing step currently done 2020-07-25 10:24:32 +02:00
Kazhnuz
8fe8f61821 fix: start simplification of the movement system 2020-07-25 10:24:07 +02:00
Kazhnuz
75914d694d chore: hook up the damage system to the choregraphy system 2020-07-25 08:44:59 +02:00
Kazhnuz
d69255ead0 chore: put the damage handling system inside fighters and not actors 2020-07-25 08:44:03 +02:00
Kazhnuz
4f024dbb39 chore: remove old choregraphy system from heroes' actors 2020-07-25 08:43:15 +02:00
Kazhnuz
eec4ef060b feat(cbs/choregraphy): add some basic steps 2020-07-24 21:54:12 +02:00
Kazhnuz
bb3d823404 chore(cbs/heroactor): first round of dead code cleanup 2020-07-24 20:04:12 +02:00
Kazhnuz
799a532523 chore: extract voice system from actor 2020-07-24 19:55:11 +02:00
Kazhnuz
bf23dd2056 chore: extract hp management from actor 2020-07-24 19:49:24 +02:00