Commit graph

544 commits

Author SHA1 Message Date
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