Repository navigation
Engine v2.1
Engine v2.1
Additions and fixes on top of v2. Books made with v2 need no change.
Picture books
- Scenes can draw through a beat's last 0.6 s hold:
clockRun(f, D, { tail: true }), used by the picture-book kit'sstopClock. A camera follows when its step has a tail. With an older engine the option is ignored and the hold stands still, as before. - After a film ends, Space, Enter and R replay or go on to the next episode, and the arrows still step back. The help no longer lists lesson-only keys.
Look
- A book can set its board colours with a plain
:rootin itsbook.css(stage, cards, bar, volume andCOLfollow), so a light board needs no hand overrides. A commented example is inengine/book.css. The default dark look is unchanged.
Questions
- Answer boxes accept
$60,5 €,1,250and thousands grouped with spaces. ?beat=Non a question no longer swallows Space; the answer box takes focus once the lesson plays.- Enter after a chapter's last question opens the next chapter.
Drawing
draw,showandhidetake an ease. Chapters that already passed one now ease as written.- A
transformset on apath()is kept until the element first moves.
Syncing
engine.py in the Skill now syncs from the latest compatible release, engine-v2.1. A new major number still means books may need a change.