Draw Sprite Skewed


You must be logged in to obtain assets


Drawing sprites skewed!

draw_sprite_skew(sprite_index, image_index, x, y, hskew, vskew);
draw_sprite_skew_ext(sprite_index, image_index, x, y, image_xscale, image_yscale, image_angle, image_blend, image_alpha, hskew, vskew);

Draws a sprite skewed around it's origin.

The functions take the same form as the usual draw_sprite and draw_sprite_ext with the addition of hskew and vskew.
hskew is the horizontal skew. Positive numbers skew the sprite to the right.
vskew is the vertical skew. Positive numbers skew the sprite down.

The skewing is done using primitives. This means it will not work for HTML5 without WebGL (as of time of writing, only Chrome and Firefox support it).

Example of skewing:

End User Licence Agreement (EULA).

Age Rating: 4+


GMS1 - Version 1.0.0. Published July 10, 2014

initial commit

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait