Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Vanilla Bug] Double Start on Next Anims #1175

Open
3 tasks done
Crimsonum opened this issue Feb 25, 2025 · 0 comments
Open
3 tasks done

[Vanilla Bug] Double Start on Next Anims #1175

Crimsonum opened this issue Feb 25, 2025 · 0 comments
Labels
vanilla-bug Something isn't working in the original game

Comments

@Crimsonum
Copy link

First Check

  • I added a very descriptive title to this issue.
  • I used the GitHub search to find a similar issue and didn't find it.
  • I have attached as much information as possible (screenshots, debug and exception logs, etc).

Description

On animation types, the value of Start gets doubled if the animation is created via Next. For example, Start=10 will in fact start the animation from the 20th (0-based) frame.

Required Code (optional)

Example art code:

[FOO] ;can be any anim
End=5
Next=BAR

[BAR] ;can be any anim
Start=5

Steps To Reproduce

Observe any animation created via Next that has a non-zero Start frame specified.

Expected Behaviour

The Next animation should start from the frame specified by Start.

Actual Behaviour

The Next animation starts from the (Start * 2)'th frame.

Additional Context

Example
In this example, the animation consists of a sequence of numbers from 0 to 19, split into three animation types. Notice the jumps in the sequence caused by the bug.

Code for the animation:

[STARTST1]
Image=TEST20
Rate=60
End=4
Next=STARTST2

[STARTST2]
Image=TEST20
Start=4
End=9
Rate=60
Next=STARTST3

[STARTST3]
Image=TEST20
Start=9
Rate=60
@Crimsonum Crimsonum added the vanilla-bug Something isn't working in the original game label Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vanilla-bug Something isn't working in the original game
Projects
None yet
Development

No branches or pull requests

1 participant