Standing Animation trouble

The place to post your WML questions and answers.

Moderator: Forum Moderators

Forum rules
  • Please use [code] BBCode tags in your posts for embedding WML snippets.
  • To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Post Reply
User avatar
doofus-01
Art Director
Posts: 4122
Joined: January 6th, 2008, 9:27 pm
Location: USA

Standing Animation trouble

Post by doofus-01 »

Hi,

I'm trying to have a standing animation with more than one layer (so using [xxx_frame] feature), but either I'm not doing this right, or there is a bug. A (somewhat silly) example, paste this into Wose.cfg, or any unit really.

Code: Select all

    [standing_anim] 
        start_time=0
        fire_start_time=0
        [frame]
            duration=400
            image="units/woses/wose-die-fall-[1~4].png:100"
        [/frame]
        [fire_frame]
            duration=400
            image="items/flower[1~4].png:100"
        [/fire_frame]
    [/standing_anim]
What I would expect to see is that the base sprite layer moves in a cycle, and the flower image on top cycles through the items/flower*.png images.

What I see instead is that the base layer cycles, and the flowers only cycle once, then stay with flower4.png.

If this is a bug, it might be related to http://gna.org/bugs/?21316

I'm using 1.11.12.

EDIT: Actually, this looks like the exact same bug to me. I'll comment in the bug report, but I don't know if that will do anything, so I'll leave this post here in case.
BfW 1.12 supported, but active development only for BfW 1.13/1.14: Bad Moon Rising | Trinity | Archaic Era |
| Abandoned: Tales of the Setting Sun
GitHub link for these projects
Post Reply