Physics properties
To simplify gaming and other scripted movement, SWiSHscript supports additional properties that let you define the velocity , acceleration and friction of an Object or Sprite.| Property |
Acceleration Property |
Friction Property |
Velocity Property |
| _alpha |
_aalpha (% / sec / sec) |
_falpha (%) |
_valpha (% / sec) |
| _rotation |
_arotation (deg / sec / sec) |
_frotation (%) |
_vrotation (deg / sec) |
| _X |
_aX (pixels / sec / sec) |
_fX (%) |
_vX (pixels / sec) |
| _xscale |
_axscale (% / sec / sec) |
_fxscale (%) |
_vxscale (% / sec) |
| _Y |
_aY (pixels / sec / sec) |
_fY (%) |
_vY (pixels / sec) |
| _yscale |
_ayscale (% / sec / sec) |
_fyscale (%) |
_vyscale (% / sec) |