Shearing is best understood by example. Please visit
tutorial page for
WARNING: FireFox cannot correctly run a shearing effect.
This bug in FireFox has been submitted to
See the tutorial for more details.
create shear as MyShear
where rate=3 until=1 type=x completion=Done
- specify a routine to run when the shearing is complete.
- a shear rate per second. Use a negative value as
- specify in which direction to shear the sprite. If type is not specified the shearing is performed both ways.
- the value at which the shearing should end. Be sure this number makes sense with
respect to the initial size of the sprite and the rate being negative or positive.