diff options
| author | raven <citrons@mondecitronne.com> | 2026-03-22 11:54:16 -0500 |
|---|---|---|
| committer | raven <citrons@mondecitronne.com> | 2026-03-22 11:54:16 -0500 |
| commit | 25d37dc5b74892886de82caf263d3040212480dd (patch) | |
| tree | 0a384808e7b27d966fa17713803becf1a10e48d3 /animations.txt | |
initial commit
Diffstat (limited to 'animations.txt')
| -rw-r--r-- | animations.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/animations.txt b/animations.txt new file mode 100644 index 0000000..4f36835 --- /dev/null +++ b/animations.txt @@ -0,0 +1,17 @@ +# This file defines the animations used in a texture pack for ClassiCube.
+# Each line is in the format : <TileX> <TileY> <FrameX> <FrameY> <Frame size> <Frames count> <Tick delay>
+# - TileX and TileY are the coordinates of the tile in terrain.png that will be replaced by the animation frames.
+# Essentially, TileX and TileY are the remainder and quotient of an ID in F10 menu divided by 16
+# For instance, obsidian texture(37) has TileX of 5, and TileY of 2
+# - FrameX and FrameY are the pixel coordinates of the first animation frame in animations.png.
+# - Frame Size is the size in pixels of an animation frame.
+# - Frames count is the number of used frames. The first frame is located at
+# (FrameX, FrameY), the second one at (FrameX + FrameSize, FrameY) and so on.
+# - Tick delay is the number of ticks a frame doesn't change. For instance, delay of 0
+# means that the tile would be replaced every tick, while delay of 2 means
+# 'replace with frame 1, don't change frame, don't change frame, replace with frame 2'.
+# NOTE: If a file called 'uselavaanim' is in the texture pack, the game instead generates the lava texture animation.
+# NOTE: If a file called 'usewateranim' is in the texture pack, the game instead generates the water texture animation.
+
+# fire
+6 2 0 0 16 32 0
\ No newline at end of file |
