The "sys_deform_draw" Function
#
SyntaxArgument | Type | Description |
---|---|---|
entity | integer | The data structure of the entity to end animation |
index | integer | The index of the row containing the target entity |
tex | texture | The texture to be drawn deformed |
width | real | The original width of the source sprite or surface |
height | real | The original height of the source sprite or surface |
x | real | The horizontal position to draw the deformation |
y | real | The vertical position to draw the deformation |
xscale | real | The horizontal scale multiplier to apply to the deformation |
yscale | real | The vertical scale multiplier to apply to the deformation |
rot | real | The rotation to apply to the deformation, in degrees |
alpha | real | The alpha transparency to apply to the deformation |
#
DescriptionDraws a deformation which has been previously processed with sys_deform_perform
.
As this script is run automatically by any deformation scripts tailored to specific entity types, it is almost never necessary to run sys_deform_draw
manually.
See Animations for a list of included deformation scripts and how to make your own.