Create an account
To install the mod, you ecessarily need SMAPI, read the guide.

Content Patcher Animations v1.2.4  

Upload: 09 Jul 2023, 11:37
Created by: spacechase0 [X]
Uploaded by: Aqxaro
Version: 1.2.4

Content Patcher Animations lets you animate textures in Content Patcher with its EditImage action.

Install

  1. Install the latest version of SMAPI and Content Patcher.
  2. Unzip the mod folder into Stardew Valley/Mods.
  3. 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

  1. Create a content pack for Content Patcher.
  2. Add an EditImage patch for the image you want to animate.
  3. Give the patch a unique LogName value.
  4. 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.

Comments
The minimum comment length is 10 characters.