-
-
Notifications
You must be signed in to change notification settings - Fork 931
web: Add ruffle() (Version 1) API
#17939
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
I've gone ahead and changed |
6ff7d0d to
875e781
Compare
|
Renamed |
|
Changed |
This comment was marked as outdated.
This comment was marked as outdated.
0231cea to
b02a20d
Compare
At this commit, the V1 API is identical to Legacy API
These can be replaced later when Ruffle API v1 releases with proper TypeScript definitions and such: ruffle-rs/ruffle#17939 I am planning to do so myself when that happens. For now, Dinnerbone has graciously provided us with type definitions of the current API. Co-authored-by: Nathan Adams <dinnerbone@dinnerbone.com>
Bikeshedding time, here's the chance to decide what the "v1 api" looks like before we lock it in.
The only change so far is that I've added a specific method for calling EI, vs the very easy-to-break and implicit "the method will exist, trust me". I'm awaiting feedback before touching anything else.
Whilst this is "version 1" (
PlayerV1interface), if we never add a V2 that's totally fine.ruffle()is the same asruffle(1).Things to consider for each existing member of the API: