Content Patcher Animations v1.2.4
Content Patcher Animations lets you animate textures in Content Patcher with its EditImage action.
Install
- Install the latest version of SMAPI and Content Patcher.
- Unzip the mod folder into Stardew Valley/Mods.
- Run the game using SMAPI.
Use
For players
Just install the mod and it'll work automatically for content packs that use it.
For mod authors
- Create a content pack for Content Patcher.
- Add an EditImage patch for the image you want to animate.
- Give the patch a unique LogName value.
- Add these two fields to your patch:
- AnimationFrameTime is the number of ticks between each frame (in game ticks, which is 1/60thof a second);
- AnimationFrameCount is the number of frames.
All frames must be next to each other horizontally in the same FromFile image.
See the optional files for an example content pack.
The minimum comment length is 10 characters.