Commit graph

93 commits

Author SHA1 Message Date
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
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
722c69d733 feat: add switching from main/character menu
Fix #53
2020-08-23 10:40:06 +02:00
Kazhnuz
508b044669 fix: lock inputs between scenes 2020-08-20 10:34:39 +02:00
Kazhnuz
b5dc4daaf5 fix: make shadow font filter works 2020-08-19 19:43:10 +02:00
Kazhnuz
9492e2f7ea feat: new battlesystem choice boxe
Fix #35
2020-08-18 23:46:11 +02:00
Kazhnuz
a686baf089 fix: don't hardcode directions 2020-08-04 22:40:58 +02:00