-
Notifications
You must be signed in to change notification settings - Fork 82
[UEPR-282] add face-sensing extension #272
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Supporting VM changes for extensionification
support non-droppable menus in extensions
Raise params to the next frame when pushing
Revert "Raise params to the next frame when pushing"
Add custom mime-type to exported sb3 and sprite
Inline Images in Extensions
Use new updateDrawable* methods
Fix custom field types
Remove calls to updateDrawableSkinIdRotationCenter
Remove RenderedTarget.setSay + its test
Support extension block filtering per-target
Clear some stats when disposing runtime
The `index.js` file now handles module-level exports only.
This can be used to implement the "touching {mouse-pointer}?" block.
The `isTouchingColor` function now takes an optional mask parameter. If provided, only the parts of the Drawable which match the mask color will be used for the test. For example: ``` isTouchingColor(4, red, blue); ``` This means "are there any parts of Drawable #4 which are blue and are touching a red pixel on some other Drawable?"
The renderer now calculates the native render target size based on the edge coordinates provided to the constructor. This native size will be used directly for queries such as "touching color?" and will be scaled when rendering for display.
Some debug code has been moved inside conditionals instead of comments
- Always take color in unsigned-byte terms. - Moved tolerance value into a class constant. - Use the same tolerance in JS color comparison as in the shader.
Drawable now creates its own temporary texture upon construction. This 1x1 transparent texture is ready immediately and is replaced once a real skin is loaded. This slightly simplifies some of the skin loading code but more importantly prevents GL errors caused when trying to draw a Drawable if it hasn't yet created its "real" texture, as in the SVG load path.
The build generates a new output set called `render-webgl-worker`, meant to be imported from a web worker. This exposes the `RenderWebGLRemote` class to facilitate communication with the renderer using `postMessage` and `onmessage`. Only a few messages are implemented so far, but it's enough to run the demo page.
RenderWebGL{Local,Worker} class methods return Promise instances from all methods returning a value. This makes the API consistent from a Web Worker vs. the local page, and also allows the possibility of asynchronous render queries in the future.
* Remove WebWorker support * Recompile Sept. 14
* Add `setDrawableOrder` for layering * Add 0-limit for newIndex
* Expose skin/costume size * Return skin size as a copy
…ess if it was successful or not
…ert-continues-to-display-on-error [UEPR-333] Fix "Loading extension" alert not closing on error
[UEPR-184 & UEPR-329] Add Face Sensing Tutorial
…s-and-hardcoded-strings [UEPR-314] Replace magic numbers and hardcoded strings
…ment-face-sensing-callouts [UEPR-331] Implement face sensing callouts
…bnail Fix: Change face sensing tutorial thumbnail
…clickable [UEPR-385] Fix sprites issues when extension button tooltip is displayed
…callout-not-hiding [UEPR-287] Update new feature callout behavior in extensions modal
…een-flag [UEPR-390] Fix: Allow pointer events on green flag button
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Resolves
UEPR-282
Proposed Changes
Migrate code for face sensing extension from
scratch-lab
to editor