Commit graph

99 commits

Author SHA1 Message Date
Kazhnuz
6c451e7aee feat : add equip dialogs 2021-04-22 23:41:20 +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
021a2b08b2 chore: add a wrapper for sfx 2021-04-21 16:30:52 +02:00
Kazhnuz
8e277d0505 fix: make text shadow follow its opacity 2021-04-18 18:29:20 +02:00
Kazhnuz
9523edb555 feat: add confirmation dialogs
Fixes #86
2021-04-18 16:36:40 +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
dd841a4435 chore: remove stray print 2021-04-11 15:18:47 +02:00
Kazhnuz
705d07abb6 fix: better collisions
Fixes #83
2021-04-11 09:57:44 +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
9c4efa3512 feat: implement fake y-sorting for tiles 2021-04-05 21:07:40 +02:00
Kazhnuz
fccc4a5d8e improvement: add main menu transitions
Fixes #73
2021-04-05 14:20:25 +02:00
Kazhnuz
f59ebd11e5 fix: fix circle initial size 2021-04-05 12:29:34 +02:00
Kazhnuz
0c1f18ec64 chore: refactor time functions into an util 2021-04-05 09:48:59 +02:00
Kazhnuz
6b04e86980 improvement : iterates table on table.toString 2021-04-05 09:33:32 +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
d64868d54c fix: fix numberToString 2021-04-03 18:01:15 +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
fbbe20e225 feat: stop hardcoding position in maps 2021-04-02 23:26:22 +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
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
f12074d659 feat: add a way to know if a scene is stored 2021-03-26 15:27:23 +01:00
Kazhnuz
8a34c4f012 fix: improved tile collision
Fixes #75
Fixes #70
2021-03-24 11:57:42 +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
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
9e031c0d7d feat: sounds effects on dialog boxes 2021-03-22 20:02:54 +01:00
Kazhnuz
8ba84e03aa feat: add way to get map name 2021-03-22 18:58:53 +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
2e47d87abf feat: add dialog boxes powered by talkies 2021-03-21 22:00:54 +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
5c0f4dd48a feat: add a way to colorize widgets 2021-03-13 17:26:36 +01: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
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