Skip to content

Adjusting Frame Sizes When Animating Images #137

Closed

Description

@plomano

Hello,

When animating an image, the image jumps around a lot due to different frame sizes.

Would it be possible to adjust all frame sizes to fit the largest frame size when animating/exporting an animated image?

This would produce a much cleaner and more accurate animation.

Thank you.

Activity

  1. AsYlum- commented on May 31, 2025

    @AsYlum-
    Collaborator

    The problem is centering :) That's why you have all the tools in animation editor to center each frame. Just resizing canvas won't center animation :) It will just center frame image (the actual body may be off-center).

    So the question is why do you mean by animating and what do you really need. You can export animations as GIFs that should give you nice animation with all the information in place.

    If you can join our discord and tell me more what you need because I have a feeling that geometric center of frame image won't help you much :)

  2. Prapilk commented on May 31, 2025

    @Prapilk

    You can modify the source code to extract images with a fixed frame size.
    This eliminates the need for a centerX and Y for each frame. You'll just need to place the frame once, create a "same frame," and create a "set" for all the actions.

    Be careful, though, with new bodies (orc, dwarf, giant, children, etc.), you can't do this because other elements will break.

  3. AsYlum- commented on Apr 28, 2026

    @AsYlum-
    Collaborator

    @plomano for what did you wanted to use this? just export frames so you can construct a gif or other animation somewhere? or to have the frames same size of other animations in the client? Because expanding animation frames may lead to some problems if frames get too big.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions