Behavior : Sprite Ext

Author:Rex.Rainbow

Download

Properties

Actions

Animations

Action:Set mirrored

  • Set the sprite is horizontally mirrored or back to normal.
    • Mirrored ( number ) : 1 = mirrored, 0 = not mirrored, 2 = toggle

Action:Set flipped

  • Set the sprite is vertically flipped or back to normal.
    • Flipped ( number ) : 1 = flipped, 0 = not flipped, 2 = toggle

Appearance

Action:Set visible

  • Set the sprite is hidden or shown .
    • Visible ( number ) : 1 = visible, 0 = invisible, 2 = toggle

Solid

Action:Set solid

  • Set solid property.
    • Enable ( number ) : 1 = enable, 0 = disable, 2 = toggle

Expressions

Animations

Expression:IsMirror

  • Return 1 if sprirte is horizontally mirrored.

Expression:IsFlipped

  • Return 1 if sprirte is vertically flipped.

canvas

Expression:imageUrl

  • This returns a temporary url to the image on the canvas.

Conditions

Overlap

Condition:Is overlapping point

  • Return true if the object is overlapping at a point.
    • X ( number ) : The X co-ordinate of point.
    • Y ( number ) : The Y co-ordinate of point.

Soild

Condition:Is solid

  • Return true if the object has solid enable.