Standing Animation trouble

The place to post your WML questions and answers.

Moderators: Developers, 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.

Standing Animation trouble

Postby doofus-01 » March 29th, 2014, 2:08 pm

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.
Bad Moon Rising | Trinity(WIP) | Archaic Era | Tales of the Setting Sun(On Hold/Abandoned)
Available for BfW 1.10 but only actively developed for BfW 1.11/1.12
User avatar
doofus-01
Art Contributor
 
Posts: 2764
Joined: January 6th, 2008, 9:27 pm
Location: USA

Return to WML Workshop

Who is online

Users browsing this forum: No registered users and 1 guest