Commit Graph

25 Commits

Author SHA1 Message Date
Lucas Scharenbroich
2f40c79ddf Improve transparent / background color handling when generating tiles 2021-11-02 21:59:08 -05:00
Lucas Scharenbroich
532af93538 Small update to add ability to specify a transparent color directly 2021-10-31 15:43:23 -05:00
Lucas Scharenbroich
3f2a9bd8d4 Do not export BG0 tile descriptors ith the mask bit set if there is only one layer defined 2021-10-26 21:19:37 -05:00
Lucas Scharenbroich
59f9e61559 Compensate for the fact the Tiled animation IDs are one off of the map TileIDs 2021-10-07 21:57:56 -05:00
Lucas Scharenbroich
87ded17e20 Initial Tiled tile animation export support
* Tiled tile animations read from TSX files
* Hooks for initialization generated by the tiled export tool
* Animated tiles implements with dynamic tiles backed by 2KB of direct
  page space in Bank 00
* Animation resolution limited to 1/60th incremenents

TODO
* Fix crasher in the _DoScriptSequ timer callback
* Fix single-line of garbage on the top line of the dynamic tiles
2021-10-06 07:10:09 -05:00
Lucas Scharenbroich
7d7a54a731 Update tiled export to create code to start timer scripts for animated tiles 2021-09-05 17:40:34 -05:00
Lucas Scharenbroich
529e4a98bc Add a tool to export fatdog's images with embedded palette and SCB information 2021-08-28 16:44:14 -05:00
Lucas Scharenbroich
f55192436a Final reorg; all projects build into a unified disk image for testing 2021-08-26 17:15:44 -05:00
Lucas Scharenbroich
07ac2b017f Fix indexing error in Tiled export. Solid tiles are no longer marked as masked 2021-08-19 00:47:34 -05:00
Lucas Scharenbroich
4609b5c4b9 Identify tiles that should be masked from Tiled maps 2021-08-17 16:23:23 -05:00
Lucas Scharenbroich
1492ac3b36 Map Tiled Horizontal and Vertical flip flags onto GTE equivalents 2021-08-14 21:22:21 -05:00
Lucas Scharenbroich
232f94d30e Fix layer comparison function 2021-08-14 21:09:35 -05:00
Lucas Scharenbroich
44ee61a3f3 Improve export of Tiled projects. Does level data and tileset export in one command now 2021-08-14 20:57:00 -05:00
Lucas Scharenbroich
ce51563913 Fix small code issues and sync up tool output with code changes. Maps render again with solid tiles 2021-08-13 11:57:41 -05:00
Lucas Scharenbroich
8ed851cb33 First pass at importing tilesets into GTE 2021-08-06 16:35:47 -05:00
Lucas Scharenbroich
72ee2e7bc0 First version of Tiled Map import tool 2021-08-05 21:19:02 -05:00
Lucas Scharenbroich
d0e52fcc37 Rename PNG conversion tool 2021-08-05 20:26:18 -05:00
Lucas Scharenbroich
56b5b69efa Move rotation data to its own segment 2021-07-30 08:01:16 -05:00
Lucas Scharenbroich
65af5cbf26 Improve address generation 2021-07-27 16:28:18 -05:00
Lucas Scharenbroich
39e3fa9364 Fix an offset bug 2021-07-27 09:45:28 -05:00
Lucas Scharenbroich
87e46d95f5 Rotation! 2021-07-24 09:00:52 -05:00
Lucas Scharenbroich
d9e3ee14e8 Add small header to converted image data 2021-07-19 14:18:02 -05:00
Lucas Scharenbroich
760580d733 Tweak file loading functions 2021-07-18 08:59:19 -05:00
Lucas Scharenbroich
6fc772ce78 Sorted out BG1 edge artifacts 2021-07-16 17:05:29 -05:00
Lucas Scharenbroich
f2d82f810d Very simple asset pipeline to transform PNG impage into raw binary files to load in the engine 2021-07-16 13:09:16 -05:00