Skip to content

SLD File Documentation 100%? #1772

@UnluckyForSome

Description

@UnluckyForSome

I was looking through the openage SLD documentation here

https://github.com/SFTtech/openage/blob/master/doc/media/sld-files.md

and the SLD Extractor which seems to follow it here:

https://sld.aoe2.se/

I think the implementation with duplicated blocks from the previous frame is slightly incorrect, and this could mean the documentation might be slightly wrong? Although I can't work out exactly how.

On some of the sprites (ones with portions which are static for several frames) the algorithm also incorrectly copies blocks elsewhere - see the war wagon death animation:

Image

It seems a lot of the blocks from the collapsed wagon are correctly copied from the previous frame (because they're not moving) but then also blocks by the horse's head are also being incorrectly copied.

If any of the openage community could help me in understanding why this could be the case, i'd be able to update the SLD Extraction JS code and fix it so it's perfect. I'm sure there is a rule that might not be documented or something...

Many thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: assetsInvolved with assets (images, sounds, ...)lang: pythonDone in Python codequestionA question or clarification request about quite anything

    Type

    Projects

    Status

    📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions