You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 3, 2025. It is now read-only.
1. Ensure you have [.NET 8 runtime](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) installed.
33
+
1. Ensure you have [.NET 10 runtime](https://dotnet.microsoft.com/en-us/download/dotnet/10.0) installed.
32
34
2. Download the latest release from the [releases page](https://github.com/vonhoff/Animation2Tilemap/releases).
33
35
3. Extract the zip file to your preferred location.
34
36
@@ -46,12 +48,16 @@ animation2tilemap --help
46
48
47
49
## How It Works
48
50
49
-
It begins by loading the input, which can be a single image, a multi-frame file (such as a GIF), or a folder of images. Multi-frame files are automatically treated as animations. When processing a folder where all images have the same dimensions, they are assumed to be animation frames; confirmation is requested unless the `--assume-animation` option is used.
51
+
It starts by loading the input, which can be a single image, a multi-frame file (such as a GIF), or a folder of images. Multi-frame files are automatically treated as animations. When processing a folder where all images have the same dimensions, they are assumed to be animation frames; confirmation is requested unless the `--assume-animation` option is used.
50
52
51
53
Next, the tileset factory divides each frame into tiles and uses image hashing to track unique tiles at each grid position, ensuring that only unique tiles are stored for a compact tileset. For each grid position, a unique identifier is generated to represent the sequence of tiles across frames, capturing any tile animation patterns.
52
54
53
55
Finally, the tilemap factory constructs a tilemap that references the generated tileset, creating a map layer that reflects the original frame layout. It then uses the calculated sequence IDs to assign the correct animated tile ID to each grid position, reconstructing the original animation.
54
56
57
+
## Related Projects
58
+
59
+
For converting tilemaps to GIFs, check out [Tilemap2Animation](https://github.com/vonhoff/Tilemap2Animation).
60
+
55
61
## Support and Contribute
56
62
57
63
If you find value in this project, there are several ways you can contribute:
0 commit comments