In this update I am showing how to animate the foreground (the flags in this case) and affect the sprite clipping at the same time.
This is all new code inspired by LN3 and now integrated in the LN2 framework. LN2 itself does include background animations (e.g. the torches in level 3), but not foreground animations (those that affect sprite clipping).
This is all good experience that I am documenting as I go along as part of the framework 🙂