forked from airbnb/lottie-web
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Problem
- 整個 Extension & Player Code 非常舊,其中 Extension 的原因是 AE 以前只支援 ECMAScript 3,但現在已經支援 ECMAScript 2018 了
https://helpx.adobe.com/tw/after-effects/using/legacy-and-extend-script-engine.html
The expression language in After Effects is based on JavaScript, which is an implementation of ECMAScript. The JavaScript expression engine in After Effects 16.0 is based on ECMAScript 2018. The Legacy ExtendScript expression engine is based on ECMAScript 3 (1999). (Adobe ExtendScript is also the language used for scripting in After Effects and other Adobe applications.)
- 目前 Extension 設計邏輯
AE -> Extension -> data.json (Player 所使用的格式) -> Player,Extension 同時要處理 Dump AE config and Transform to data.json. 考慮改成AE -> Extension -> AE config dump -> Compile -> data.json -> Player
a. 除了 AE 修改,不需要修改 Extension,避免現在加特效時都要重新 Build Extension
b. 有一個需求是將我們 A.I. 引擎設計的東西 import 回 AE 繼續編輯,這個架構比較合適
c. Compile 開發時不需要碰 AE 的結構
d. JSONSchema 只需要在 Compile & Player 中共用
e. 一個 Component 只要做一件事 (對時間很瑣碎的爸爸工程師比較友善)
Metadata
Metadata
Assignees
Labels
No labels