morph background image
Problem it solves
You want to shift to a new level, weather condition, or scene with a dramatic screen-dissolve transition instead of an abrupt background cut.
What this block does
Smoothly transitions the current background into a new background image by randomly transferring pixels in batches until the transition finishes.
The block
Block ID: backgroundmorphimage
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
| myImage | Image | The new background image to morph into. |
Example
scene.setBackgroundImage(img`.`) imagemorph.morphBackground(img`.`)
Add the extension
Add github:UnicycleDumpTruck/pxt-image-morph to your project, or open: Import pxt-image-morph.