Commit graph

868 commits

Author SHA1 Message Date
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
Kazhnuz
487d14dece feat: make aerial ennemies able to avoir attacks 2021-05-09 15:08:46 +02:00
Kazhnuz
b9d324fa57 feat: add back step conditions 2021-05-09 15:08:36 +02:00
Kazhnuz
30cdda0970 fix: take z coordinate in account in gfx 2021-05-09 15:07:54 +02:00
Kazhnuz
034fb9cee6 feat: improve damage output drawing 2021-05-09 15:07:38 +02:00
Kazhnuz
cc66f86bd1 fix: take the ennemy z into account for qte 2021-05-09 15:06:29 +02:00
Kazhnuz
fe5e1f6d68 feat: add a spinner ennemy 2021-05-09 15:04:51 +02:00
Kazhnuz
b38a8c3910 fix: fix motobug's height 2021-05-09 15:04:17 +02:00
Kazhnuz
6a94215804 feat: add small letters to hudsmallnumbers 2021-05-09 15:03:57 +02:00
Kazhnuz
f94e6ca2f9 fix: fix btn 2021-05-08 19:10:30 +02:00
Kazhnuz
e3ebe05dec Merge branch 'master' of https://git.kobold.cafe/sonic/sonic-radiance 2021-05-08 18:42:49 +02:00
Kazhnuz
a0c14e0690 fix: fix attack choregraphy 2021-05-08 18:42:46 +02:00
Kazhnuz
8174f81146 improvement: better spindash choregraphy 2021-05-08 18:39:52 +02:00
Kazhnuz
dd9f3cb6e3 feat: add simple prompts 2021-05-08 18:39:40 +02:00
Kazhnuz
c30c3336c6 feat: rework serialization
Fixes #102
2021-05-08 12:54:07 +02:00
Kazhnuz
ff8cd856fd chore: port actors to rect and box 2021-05-07 19:23:34 +02:00
Kazhnuz
05a8b71180 chore: extract shapes from actor3D 2021-05-07 19:14:13 +02:00
Kazhnuz
0421bd4954 improvement: put automove in physic mixin 2021-05-07 19:07:18 +02:00
Kazhnuz
95ea526b53 chore: simplify hitbox application 2021-05-07 18:58:08 +02:00
Kazhnuz
c17338174b feat(actor): improve semantics 2021-05-07 18:33:56 +02:00
Kazhnuz
a856739a36 improvement: refactor hitbox management 2021-05-07 18:27:13 +02:00
Kazhnuz
f3a98592b3 improvement: use directly a table for box attr 2021-05-07 18:15:43 +02:00
Kazhnuz
3f81920c49 chore: let the hitbox handle the scaling 2021-05-07 18:10:37 +02:00
Kazhnuz
040240492e chore: pack and unpack the coordinates 2021-05-07 11:56:44 +02:00
Kazhnuz
edf44fd252 chore: extract physics as a mixins 2021-05-06 20:26:06 +02:00
Kazhnuz
33427077a0 chore: refactor the actor system 2021-05-06 16:08:08 +02:00
Kazhnuz
6c546e1e0e fix: fix function getActorsInRect 2021-05-06 11:21:01 +02:00
Kazhnuz
06f50c5e59 improvement: manage music via core.music 2021-05-05 14:49:14 +02:00
Kazhnuz
b00f73c37f feat: update utils to current birb 2021-05-05 14:36:34 +02:00
Kazhnuz
4054bbe443 improvement(debug): better logs 2021-05-05 13:15:50 +02:00
Kazhnuz
4d3687f627 feat: add enums 2021-05-05 13:15:12 +02:00
Kazhnuz
30a16b4e3f improvement: put all default config in conf.lua 2021-05-05 12:09:30 +02:00
Kazhnuz
61a3206a95 chore: put tweenmanager into the class folder 2021-05-05 11:41:25 +02:00
Kazhnuz
d165fc4181 feat: backport new shape classes 2021-05-05 09:07:07 +02:00
Kazhnuz
84f483f6b4 chore: separate birbcore in its own subfolder 2021-05-05 08:53:54 +02:00
Kazhnuz
76969e7686 chore: put asset types into a subfolder 2021-05-05 08:39:52 +02:00
Kazhnuz
8eb28383ab chore:put more libs in birb.libs 2021-05-05 08:37:41 +02:00
Kazhnuz
91c214ac15 fix: rename core to "birb" 2021-05-05 08:30:32 +02:00
Kazhnuz
ba7b4ce977 feat: add prompt system 2021-04-25 16:28:31 +02:00
Kazhnuz
f7afcdd5a9 feat: add a way to set color from hsv 2021-04-25 16:27:20 +02:00
Kazhnuz
2d1ea4c2a0 feat: add QTE drawing 2021-04-25 12:21:17 +02:00
Kazhnuz
6156837705 fix: use the right signal for QTE end 2021-04-25 12:20:12 +02:00
Kazhnuz
4f26969a4d fix: adapt to the new QTE functions 2021-04-25 12:19:46 +02:00
Kazhnuz
e3acafc824 feat: initial qte parent 2021-04-25 12:18:53 +02:00
Kazhnuz
4184ef37a8 feat: add QTE buttons, by fieryexplosions 2021-04-25 09:44:56 +02:00
Kazhnuz
18a86c3a0a feat: add ways to get info from timers 2021-04-25 09:22:40 +02:00
Kazhnuz
e4741bdc90 fix: bigger border for the main menu 2021-04-23 15:07:46 +02:00
Kazhnuz
9ea2e659d3 fix: fixes menus sounds
Fixes #96
Fixes #95
2021-04-23 11:10:52 +02:00
Kazhnuz
8abd42b020 feat: add sfx when entering/leaving menu 2021-04-23 11:00:09 +02:00
Kazhnuz
29eb2b5eb1 fix(debug): mention debug mode
Fixes #97
2021-04-23 10:58:04 +02:00
Kazhnuz
cd07a4e167 fix : always start on title screen 2021-04-23 10:49:31 +02:00
Kazhnuz
e172285410 fix: place correctly rings sparkles
Fixes #94
2021-04-23 10:26:03 +02:00
Kazhnuz
e5d8a7f874 feat: add the char page structure
Fixes #61
Fixes #62
2021-04-23 10:21:54 +02:00
Kazhnuz
f65edf1924 feat: add a way to remove equipment 2021-04-23 09:23:13 +02:00
Kazhnuz
50981a7823 feat: add a smaller border option for menus 2021-04-23 09:22:58 +02:00
Kazhnuz
6c451e7aee feat : add equip dialogs 2021-04-22 23:41:20 +02:00
Kazhnuz
0d4fe92a90 feat: basic equipements backend
Fixes #80
2021-04-22 20:03:46 +02:00
Kazhnuz
80748476de fix: separate equipment pockets 2021-04-22 19:46:19 +02:00
Kazhnuz
4ba49a5534 feat: add basic items 2021-04-22 19:45:31 +02:00
Kazhnuz
19432b3663 fix: more steep stats 2021-04-22 18:57:03 +02:00
Kazhnuz
2eddeefa1e improvement: use the inventory data file for equip
It'll allow us to do a simpler equipement system
2021-04-22 18:55:52 +02:00
Kazhnuz
1fe25f2ff1 chore: split AbstractCharacter into smaller mixins 2021-04-22 18:11:11 +02:00
Kazhnuz
855c2a2daf chore: better organisation for characters.lua 2021-04-22 17:44:19 +02:00
Kazhnuz
040f67d32c fix: use the origin for ysorting tiles 2021-04-21 21:17:34 +02:00
Kazhnuz
dd4d212721 feat: add GFX on the overworld
Fixes #91
2021-04-21 21:14:45 +02:00
Kazhnuz
2c2bee9409 feat: add confirmation dialog for item dropping 2021-04-21 19:11:52 +02:00
Kazhnuz
3b28c5b776 feat: add teleportation from leaving the map 2021-04-21 19:06:38 +02:00
Kazhnuz
d7b47933b3 feat(events): add direction option to teleporting 2021-04-21 18:46:30 +02:00
Kazhnuz
e50c9f6e54 feat: add interaction prompts
Fixes : #92
2021-04-21 18:36:20 +02:00
Kazhnuz
15bc5ae874 fix: dont walk when sliding 2021-04-21 17:20:09 +02:00
Kazhnuz
28ca276bf5 fix: better sfx 2021-04-21 17:12:56 +02:00
Kazhnuz
b3dd97a272 fix: adapt menus to new sfx code 2021-04-21 17:12:47 +02:00
Kazhnuz
85e687276f fix: only stop the music when it change 2021-04-21 17:12:20 +02:00
Kazhnuz
9a9615b120 improvement: improve the run/dash action 2021-04-21 16:54:42 +02:00
Kazhnuz
38c197a9fb feat: add sfx for terrains 2021-04-21 16:46:41 +02:00
Kazhnuz
021a2b08b2 chore: add a wrapper for sfx 2021-04-21 16:30:52 +02:00
Kazhnuz
e7878c1efa feat: add damage system
Fixes: #90
2021-04-19 18:04:29 +02:00
Kazhnuz
36e30be245 feat: handle ko characters on overworld
Preparation for full damage support
2021-04-18 19:59:03 +02:00
Kazhnuz
cd174e3153 feat: greyscale emblem for ko characters 2021-04-18 19:30:57 +02:00
Kazhnuz
706468dad6 feat: add initial difficulty system
Fixes #87
2021-04-18 19:09:01 +02:00
Kazhnuz
8e277d0505 fix: make text shadow follow its opacity 2021-04-18 18:29:20 +02:00
Kazhnuz
2bce318b96 feat: show health on overworld 2021-04-18 18:23:52 +02:00
Kazhnuz
a1d81b9170 feat: add a common message queue
Fixes #89
2021-04-18 17:44:00 +02:00
Kazhnuz
e62e97b2d7 feat: add terrain tests in the cave map 2021-04-18 16:37:06 +02:00
Kazhnuz
9523edb555 feat: add confirmation dialogs
Fixes #86
2021-04-18 16:36:40 +02:00
Kazhnuz
dbf14c59a3 feat: add internal mechanism to delete saves 2021-04-18 15:38:19 +02:00
Kazhnuz
37d685a7ea fix: don't update menus keycheck during transition
Fixes #88
2021-04-18 15:09:44 +02:00
Kazhnuz
df4ef549d6 chore: prepare for the dialog system 2021-04-18 14:56:27 +02:00
Kazhnuz
0529c14367 fix: add a one-element log system 2021-04-18 14:56:16 +02:00
Kazhnuz
32c72c18e9 feat: initial terrain collision system
Fixes #79
2021-04-18 12:34:30 +02:00
Kazhnuz
b16665a2b0 feat: scissor player when under the ground height 2021-04-18 11:03:34 +02:00
Kazhnuz
15973e491a feat: initial terrain data loading 2021-04-18 10:53:35 +02:00
Kazhnuz
a88b30dd9f feat: add a way to get the terrain at a point 2021-04-18 10:09:50 +02:00
Kazhnuz
45fc9005b5 feat: make ground level configurable 2021-04-18 10:09:17 +02:00
Kazhnuz
dd841a4435 chore: remove stray print 2021-04-11 15:18:47 +02:00
Kazhnuz
f700eaa8f8 fix: add sound to punch and dash 2021-04-11 11:08:59 +02:00
Kazhnuz
ddcd393d2a fix: add sound to every menus
Fixes #85
2021-04-11 10:32:49 +02:00
Kazhnuz
34e2bbead7 fix(actor): remove a wrong arg to drawStanding
Fixes #84
2021-04-11 09:58:21 +02:00
Kazhnuz
705d07abb6 fix: better collisions
Fixes #83
2021-04-11 09:57:44 +02:00
Kazhnuz
cd0190f065 feat: add a basic "punch" action
Fixes #78
2021-04-10 20:47:34 +02:00
Kazhnuz
84af3076f2 feat: add dash/run 2021-04-10 19:32:41 +02:00
Kazhnuz
34b409f423 feat: add flight 2021-04-10 18:28:52 +02:00
Kazhnuz
8f27270c39 feat: add initial action checking system 2021-04-10 17:59:01 +02:00
Kazhnuz
16fa9f49eb improvement: make char switch instant 2021-04-10 17:43:10 +02:00
Kazhnuz
91c885e1fb chore: prepare action system 2021-04-10 17:41:53 +02:00
Kazhnuz
1281bb30c4 chore: refactor into mixins the player actor 2021-04-10 17:14:41 +02:00
Kazhnuz
4bf6a9b78a chore: separate actors in folders 2021-04-10 15:58:53 +02:00
Kazhnuz
afc15fa0e3 feat: use direct import package 2021-04-10 14:43:30 +02:00
Kazhnuz
6d1900d5a5 feat(overworld): add jump 2021-04-10 14:28:20 +02:00
Kazhnuz
09e14eae86 fix: add large anim support to actors 2021-04-10 14:26:38 +02:00
Kazhnuz
cb50b7f256 fix: fix mirroring 2021-04-10 14:26:10 +02:00
Kazhnuz
6569cb0dd7 feat(charset): add mirroring and 'large anim' 2021-04-10 13:04:45 +02:00
Kazhnuz
2ede81dc8d improvement: refactor charset manager 2021-04-10 12:24:56 +02:00
Kazhnuz
fc1eaa0460 feat: make the fast system accessible easily 2021-04-10 12:01:47 +02:00
Kazhnuz
582008da7d feat: add a fast frame system for characterset 2021-04-10 11:59:32 +02:00
Kazhnuz
7b5ec06509 fix: fix a crash in TiledMultiMap 2021-04-10 11:23:04 +02:00
Kazhnuz
b1eb30ed6c fix: workaround high frame skip when loading resources
It'll need a proper fix, but if the game is going under 15FPS,
make delta time to 1/15 second, in order to be sure that it'll simply slow
that frame and not skip a whole transition for instance
2021-04-10 11:09:38 +02:00
Kazhnuz
7b97b1d82a fix: work around a crash in debug mode 2021-04-05 21:10:18 +02:00
Kazhnuz
9c4efa3512 feat: implement fake y-sorting for tiles 2021-04-05 21:07:40 +02:00
Kazhnuz
70029ba7bd feat: Finish PNJ system
Fixes #4
2021-04-05 16:29:51 +02:00
Kazhnuz
fccc4a5d8e improvement: add main menu transitions
Fixes #73
2021-04-05 14:20:25 +02:00
Kazhnuz
f538ffa94a feat: add transitions between title and menu 2021-04-05 12:29:45 +02:00
Kazhnuz
f59ebd11e5 fix: fix circle initial size 2021-04-05 12:29:34 +02:00
Kazhnuz
1b0091937f fix: replace deprecated function 2021-04-05 12:07:21 +02:00
Kazhnuz
207d37eddc improvement: new titlescreen 2021-04-05 12:06:02 +02:00
Kazhnuz
049c0c22f3 feat: add save selection menu
Fixes #72
2021-04-05 12:05:51 +02:00
Kazhnuz
0c1f18ec64 chore: refactor time functions into an util 2021-04-05 09:48:59 +02:00
Kazhnuz
1fb4c72098 feat: add a save metadata system 2021-04-05 09:33:52 +02:00
Kazhnuz
6b04e86980 improvement : iterates table on table.toString 2021-04-05 09:33:32 +02:00
Kazhnuz
703d11d8b7 fix: make sure that character/loot data are saved
Fixes #71
2021-04-04 16:33:48 +02:00
Kazhnuz
e2df082d92 improvement: use same border size everywhere 2021-04-04 13:17:27 +02:00
Kazhnuz
262a46be82 feat: style main menu 2021-04-04 13:17:12 +02:00
Kazhnuz
801e332b69 feat: add a better menu structure outside debug 2021-04-03 20:03:55 +02:00
Kazhnuz
5f18f79ed6 fix: only use lovebird in debug mode 2021-04-03 19:59:41 +02:00
Kazhnuz
4dc0cc2dd3 fix: better fix for ring number
Fixes #81
2021-04-03 19:32:49 +02:00
Kazhnuz
02dc4e0d2e fix: use the forever destroy mode on boxes
Fixes #82
2021-04-03 19:25:34 +02:00
Kazhnuz
d64868d54c fix: fix numberToString 2021-04-03 18:01:15 +02:00
Kazhnuz
8c871d3444 fix: reset music when starting a battle 2021-04-03 10:56:35 +02:00
Kazhnuz
be54412284 improvement: only change current music when new
It'll avoid having the music resetting every time you enter a new map with the same music
(entering in a house for instance)
2021-04-03 10:52:00 +02:00
Kazhnuz
fcafa9aa0f improvement: do not reset scene when teleporting 2021-04-03 10:50:59 +02:00
Kazhnuz
ee59bc988b fix: more aggressive memory management 2021-04-03 10:39:34 +02:00
Kazhnuz
a2246f9bc7 fix: let the cam update when screen isn't active
fix the camera jumping after a transition
2021-04-03 00:04:58 +02:00
Kazhnuz
63922790e0 feat: add teleportation between maps 2021-04-03 00:04:22 +02:00
Kazhnuz
fbbe20e225 feat: stop hardcoding position in maps 2021-04-02 23:26:22 +02:00
Kazhnuz
001ae44eec feat(overworld): add transition to the cbs 2021-04-02 22:46:37 +02:00
Kazhnuz
0cd282027c improvement: use the cbs functions to unload cbs 2021-04-02 22:25:26 +02:00
Kazhnuz
c8204f044f feat: add a callback to restored scenes 2021-04-02 22:24:37 +02:00
Kazhnuz
d611f3214c improvement: better rythm for transitions 2021-04-02 22:24:14 +02:00
Kazhnuz
f0b696117b feat: add a way to load / unload the battlesystem 2021-04-02 22:23:39 +02:00
Kazhnuz
ab3e4eadd8 improvement: add new transition types 2021-04-02 22:00:33 +02:00
Kazhnuz
e08e689586 feat: add transition system 2021-04-02 19:33:56 +02:00
Kazhnuz
b1e308bf82 improvement: better encounter sprite 2021-04-02 17:46:51 +02:00
Kazhnuz
f12074d659 feat: add a way to know if a scene is stored 2021-03-26 15:27:23 +01:00
Kazhnuz
2ad4cf8182 feat: add temporary sprite for encounters 2021-03-26 15:19:23 +01:00
Kazhnuz
8a34c4f012 fix: improved tile collision
Fixes #75
Fixes #70
2021-03-24 11:57:42 +01:00
Kazhnuz
d6995ecbba feat: add a special menu background 2021-03-23 23:20:15 +01:00
Kazhnuz
3335671a65 feat: add multimap support 2021-03-23 21:59:33 +01:00
Kazhnuz
4e4afd2baf improvement: lazyload sti objects 2021-03-23 18:26:05 +01:00
Kazhnuz
fe467119d2 fix: add forgotten nullcheck 2021-03-23 14:14:03 +01:00
Kazhnuz
538b9bd093 chore: remove for the moment mouse support 2021-03-23 14:13:11 +01:00
Kazhnuz
4fb874dea7 fix: fix cursor transitions 2021-03-23 14:07:58 +01:00
Kazhnuz
025b645cc8 fix: remove a stray print 2021-03-23 13:37:53 +01:00
Kazhnuz
b691d96c99 improvement: refactor the map system 2021-03-23 13:32:48 +01:00
Kazhnuz
a5f362ceaa improvement: rework layer drawing code 2021-03-23 11:26:15 +01:00
Kazhnuz
9d589dba8f fix: use right type for number 2021-03-22 21:32:53 +01:00
Kazhnuz
62d9684944 feat: rings and boxes 2021-03-22 21:15:33 +01:00
Kazhnuz
8bce75aad9 feat: new events 2021-03-22 21:15:20 +01:00
Kazhnuz
52243c7d8c fix: add turning handling in parent file 2021-03-22 21:14:40 +01:00
Kazhnuz
2cf4559a81 feat: add turning animation 2021-03-22 21:04:55 +01:00
Kazhnuz
11fc63b402 feat: add test music 2021-03-22 20:03:26 +01:00
Kazhnuz
9e031c0d7d feat: sounds effects on dialog boxes 2021-03-22 20:02:54 +01:00
Kazhnuz
50eb613a53 feat: make charDir customizable 2021-03-22 19:21:27 +01:00
Kazhnuz
ddc1933b40 feat: add way to destroy gizmos 2021-03-22 19:01:18 +01:00
Kazhnuz
50838c3982 feat: add variables, flags and destroyed gizmoz 2021-03-22 19:00:54 +01:00
Kazhnuz
8ba84e03aa feat: add way to get map name 2021-03-22 18:58:53 +01:00
Kazhnuz
ce5f56c556 feat: add a shadow on the overworld 2021-03-22 17:08:03 +01:00
Kazhnuz
89b0eb0b44 fix: delay menu unpausing 2021-03-22 16:43:34 +01:00
Kazhnuz
d4fd401ee4 fix: block pause during events 2021-03-22 16:14:07 +01:00
Kazhnuz
83d3bfa775 feat: add condition system for events 2021-03-22 16:12:15 +01:00
Kazhnuz
cb7b087d5f feat(utils): add Table.contain 2021-03-22 15:54:37 +01:00
Kazhnuz
d57d5a7c0f feat(utils): add few string utils 2021-03-22 15:54:17 +01:00
Kazhnuz
d8c9a652ae feat: add options dialog
Fix #5
2021-03-22 14:57:21 +01:00
Kazhnuz
b4e7796a0a fix: draw the current event 2021-03-21 22:02:20 +01:00
Kazhnuz
a890e42352 feat: add event loading 2021-03-21 22:02:13 +01:00
Kazhnuz
2e47d87abf feat: add dialog boxes powered by talkies 2021-03-21 22:00:54 +01:00
Kazhnuz
ec04a8c86c feat: add charset attribution to gizmo 2021-03-21 19:21:51 +01:00
Kazhnuz
68fc277d05 feat: add some more characters 2021-03-21 19:21:34 +01:00
Kazhnuz
91c7a03dc2 chore: simplify gizmo collision check 2021-03-21 16:32:29 +01:00
Kazhnuz
bceda94970 improvement: add charDir check on gizmo collision 2021-03-21 16:30:46 +01:00
Kazhnuz
b48b02d64a chore: space more test gizmo 2021-03-21 16:29:50 +01:00
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
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