Commit graph

3005 commits

Author SHA1 Message Date
Gwilym Inzani 3976fd93ea Correctly interpret F00 2023-08-05 22:29:31 +01:00
Corwin ddc925ca7e
Add example for saving (#470)
Adds a quick example for saving a some numbers in sram.

- [x] no changelog update needed
2023-08-05 12:07:05 +01:00
Corwin ba62aca590
add example for saving 2023-08-05 11:53:14 +01:00
Gwilym Inzani db75d8b048 Minor fixes when trying other tracks 2023-08-05 01:33:48 +01:00
Gwilym Inzani ff5d324356 Reuse envelopes if they are the same 2023-08-05 00:58:39 +01:00
Gwilym Inzani aabfb1b083 This sounds pretty decent now 2023-08-05 00:24:11 +01:00
Gwilym Inzani 47455a0377 First pass at implementing envelope playing 2023-08-05 00:02:50 +01:00
Gwilym Inzani ca4cb55b39 Add boilerplate for exporting the envelopes 2023-08-04 23:25:48 +01:00
Gwilym Inzani d29a641a44 Specify that it is the volume envelope 2023-08-04 23:19:07 +01:00
Gwilym Inzani 826fdd881a Add data structure 2023-08-04 23:17:59 +01:00
Gwilym Inzani 9d299f3e66 Fix out by one error with instrument samples 2023-08-04 23:07:19 +01:00
Gwilym Inzani fa4b2ebd5d Implement F command 2023-08-04 22:30:49 +01:00
Gwilym Inzani 43d7350c2f Remove some of the volume slides 2023-08-04 21:30:09 +01:00
Gwilym Inzani 0a851e296a Some music updates 2023-08-04 21:24:45 +01:00
Gwilym Inzani 6731fa88a0 I prefer this a bit slower 2023-08-02 17:18:27 +01:00
Gwilym Inzani 8177366c6b Remove dbg 2023-08-02 16:49:30 +01:00
Gwilym Inzani 4b145d3194 Try composing my own theme (with some bug fixes) 2023-08-02 16:48:41 +01:00
Gwilym Inzani 70e763cc11 Add some panning for some more audio interest 2023-08-01 22:34:33 +01:00
Gwilym Inzani ea29c2a9f9 Make all the sound effects louder 2023-08-01 21:59:27 +01:00
Gwilym Inzani f49d3d3700 Actually include the new music and delete the old 2023-08-01 21:42:45 +01:00
Gwilym Inzani f4214b5da8 Use new music for dungeon puzzler's lament and fix tracker bugs 2023-08-01 21:41:33 +01:00
Gwilym Inzani f3a6bead13 Actually update the gbafix licence 2023-07-28 21:54:36 +01:00
Gwilym Inzani 92a1478327
Update lockfiles (#466)
Updating lockfiles speeds up the build :)
2023-07-26 11:42:32 +01:00
GBA bot e08024ae5b Update lockfiles 2023-07-26 11:31:26 +01:00
Gwilym Inzani a2dc536d49
Use my new married name in all the places it appeared (#465)
- [x] no changelog update needed
2023-07-26 10:42:31 +01:00
Gwilym Inzani a30bb9a774
Use own gbafix implementation (#464)
Breaks the dependency on the gbafix crate and implements the header
fixing code internally.

Also, relicence `agb-gbafix` to MPL to match everything else.

- [x] Changelog updated
2023-07-26 10:39:26 +01:00
Gwilym Inzani e4dd95fbf2
16x16 levels (#462)
When we wrote our gmtk game jam 23 entry, we used 8x8 tiles in our maps.
But it made a lot of things quite annoying, so here is my attempt at
using 16x16 tiles instead and handling the pain just once in build.rs

- [x] no changelog update needed
2023-07-26 10:30:36 +01:00
Gwilym Inzani 3da10f11be Use my new married name in all the places it appeared 2023-07-26 10:29:03 +01:00
Gwilym Inzani a399415930 Add changelog entry for licence change 2023-07-26 10:25:02 +01:00
Gwilym Inzani 61c4b03f7d Update the licence to be MPL since we have no GPL dependency any more 2023-07-26 10:23:34 +01:00
Gwilym Inzani d9fc333644 Implement the padding flag 2023-07-26 10:21:54 +01:00
Gwilym Inzani 9eee5a03f2 Implement our own gba header 2023-07-26 10:18:28 +01:00
Gwilym Inzani eb31a98f29 Extract write_gba_file to lib.rs 2023-07-26 09:53:32 +01:00
Gwilym Inzani 6c7f415fb6
Channel counts as finished if the channel position reaches the end of the effect (#463)
Fixes an issue where you could only play 8 sounds until it would stop
entirely.

- [x] no changelog update needed
2023-07-25 23:33:39 +01:00
Gwilym Inzani 9445a57f48 Channel counts as finished if the channel position reaches the end of the effect 2023-07-25 23:24:40 +01:00
Gwilym Inzani a5ad0129ed Don't need to call it levels16 any more 2023-07-25 23:22:08 +01:00
Gwilym Inzani 15ea1427df Delete the old 8x8 levels 2023-07-25 23:16:00 +01:00
Gwilym Inzani ea3ba89f92 16x16 levels!! 2023-07-25 23:15:34 +01:00
Gwilym Inzani 999a73439c Migrate the first 6 levels 2023-07-25 22:34:09 +01:00
Gwilym Inzani 3bd5ae2313 level 1 implemented 2023-07-25 22:23:32 +01:00
Corwin b80c85f1d9
Import dungeon puzzler's lament (#459)
Includes dungeon keepers lament in the examples

- [x] no changelog update needed
2023-07-25 20:52:48 +01:00
Corwin 748f061856
remove unused method 2023-07-25 20:41:16 +01:00
Corwin 95c4368df6
remove unused resolution 2023-07-25 20:41:05 +01:00
Corwin e7fe866036
remove sound files for unused effects 2023-07-25 20:40:16 +01:00
Corwin 9ee98cf0bf
remove unused sounds 2023-07-25 20:39:14 +01:00
Corwin c461b581b5
emit sword hit 2023-07-25 20:39:06 +01:00
Gwilym Inzani bddb77f5c9
XM tracker (#461)
Closes #446

One big problem with our games so far is that they are 95% music files.
If we want to add a game with more music, we can't at the moment.

This adds a tracker player which can play XM files easily in your games.
A lot of features from tracker files aren't supported yet, but enough to
make the examples sound at least half decent.

- [x] Changelog updated
2023-07-25 20:29:31 +01:00
Corwin b806fa8e66
fix names 2023-07-25 20:27:03 +01:00
Gwilym Inzani a4a7089251 Add changelog entry and update readme 2023-07-25 20:18:21 +01:00
Gwilym Inzani e8e5b31d42 No need to use a generic here any more 2023-07-25 00:50:47 +01:00