Commit graph

82 commits

Author SHA1 Message Date
Gwilym Inzani 682a63b055 Fix issue with 16x16 sprites with more than 15 colours 2023-07-12 11:52:59 +01:00
Corwin 5f12040752
the proper nice okay working text rendering 2023-07-01 23:36:58 +01:00
Corwin e8479c093b
add macro to import a palette from a sprite 2023-05-06 22:44:43 +01:00
Corwin 26090499e7
fix image converter bug 2023-05-06 20:31:43 +01:00
Gwilym Inzani 8e152f05c9 Ensure mod tests is at the end 2023-04-25 20:06:52 +01:00
Gwilym Inzani bace62b8e3 Don't use nightly only function 2023-04-14 21:16:12 +01:00
GBA bot 753f59e0e0 Allow importing aseprite backgrounds directly 2023-04-13 22:33:26 +01:00
Gwilym Inzani 498236d064 Remove tile size 2023-04-13 22:18:13 +01:00
Gwilym Inzani 875a0fbb65 Remove unneeded stuff from image-converter 2023-04-13 22:14:44 +01:00
Gwilym Inzani eac350b391 Replace example usage with the new macro 2023-04-13 22:01:37 +01:00
Gwilym Inzani cb127c7924 New include_gfx macro 2023-04-13 21:53:13 +01:00
Gwilym Inzani ec3e43da56 cargo fmt everywhere 2023-03-23 21:59:49 +00:00
Gwilym Kuiper 97dec32fa2 Fix all the clippy lints 2023-02-07 20:32:43 +00:00
Eievui 43279e72c3 Fix alpha not being considered when transparent_colour was absent 2023-01-21 14:12:56 -05:00
Corwin c78b4e62f2 fix warnings in image converter 2023-01-06 18:26:03 +00:00
Gwilym Kuiper 6b149c1e31 Fix spelling errors in agb-image-converter 2022-11-17 21:18:54 +00:00
Corwin d5a7954637 align tiles to a 2 byte boundary 2022-10-22 12:41:58 +01:00
Corwin f17084d4f6 Merge remote-tracking branch 'upstream/master' into object-controller2 2022-10-08 23:36:59 +01:00
Gwilym Kuiper 1e759dbeca Move the palettes to a single constant rather than being repeated 2022-10-08 23:02:54 +01:00
Gwilym Kuiper ea75823900 Use the correct transparent colour 2022-10-08 16:45:58 +01:00
Gwilym Kuiper 1a51b3b502 Remove the definition of transparent colour from image 2022-10-08 16:44:26 +01:00
Gwilym Kuiper 89af366b7a Add transparent colour to the image itself 2022-10-08 16:43:25 +01:00
Corwin 5d541631ae add dynamic sprite support 2022-10-02 19:34:38 +01:00
Gwilym Kuiper d26311e76b The transparent colour should always go first 2022-09-22 20:26:45 +01:00
Gwilym Kuiper ff89f7f425 Get first example working 2022-08-11 23:49:51 +01:00
Gwilym Kuiper 916a3d4b20 Start tracking the colours for a 256 colour image 2022-08-11 23:49:51 +01:00
Gwilym Kuiper 702286979d Fix warning 2022-08-11 23:49:51 +01:00
Gwilym Kuiper e97061a5af Optimise all palettes together 2022-08-11 23:49:51 +01:00
Gwilym Kuiper c87a9ff077 Allow configuring backgrounds with a colour 2022-08-11 23:49:51 +01:00
lifning ee576597c2 Add rudimentary affine background layer support. 2022-08-11 23:49:51 +01:00
Corwin ca64a2bb78 perform check in proc macro for size
can give a better error message, pointing at the file that contains the bad sizes
2022-08-01 12:08:22 +01:00
Corwin 3fa5b4467f support sprites that are not square in include_aseprite 2022-08-01 01:38:17 +01:00
Corwin 1be10ba450 align sprite data to 2 byte boundaries 2022-07-16 13:36:33 +01:00
Corwin 8a55fc7f0e support larger sprites 2022-07-16 09:08:35 +01:00
Gwilym Kuiper 8b063f8440 Add support for transparent sprites 2022-05-22 19:23:29 +01:00
Gwilym Kuiper fb197d3e79 Store font data more compressed 2022-04-23 15:42:08 +01:00
Gwilym Kuiper 1b71ef6473 Add test for font output 2022-04-23 15:33:57 +01:00
Gwilym Kuiper 45e18d5cc7 Use a better example font which isn't monospace 2022-04-05 23:35:18 +01:00
Gwilym Kuiper d18d2fcde8 Remove unused import 2022-04-05 22:44:51 +01:00
Gwilym Kuiper 2c2931fa97 Handle the height of letters correctly 2022-04-05 22:44:32 +01:00
Gwilym Kuiper a6f5cc9ec1 Render some text 2022-04-05 22:32:11 +01:00
Gwilym Kuiper c5cebb9520 Theory a font renderer 2022-04-04 22:06:08 +01:00
Gwilym Kuiper d4a12277eb Generate a bytestring for the image converter rather than the array 2022-03-21 22:41:11 +00:00
Corwin c55ff3f714 const fnify 2022-03-06 13:36:50 +00:00
Corwin 6cc29ebec0 animation direction test 2022-03-06 13:31:56 +00:00
Corwin 84e6af5d2f load aseprite files directly with asefile 2022-03-06 13:31:56 +00:00
Corwin e67f1ff45f output to the correct location 2022-03-06 13:31:56 +00:00
Corwin 6e5cee1e3f support loading multiple 2022-03-06 13:31:56 +00:00
Corwin 73a8d86f6b sprite import proc macro mess 2022-03-06 13:31:56 +00:00
Corwin 9095daebd8 satisfy linter 2022-03-06 13:31:36 +00:00