Using this asset, you can draw a sprite with a pattern.
Usage example:
draw_sprite_pattern(spr_bomb, 0, x, y, spr_pattern0);
This is just like the draw_sprite function but with an extra argument, for the pattern sprite. The sprite will simply be drawn with the pattern sprite specified.
There are three more functions:
draw_sprite_ext_pattern()
, draw_sprite_pattern_ext()
, and draw_sprite_ext_pattern_ext()
.
GMS 1.x and 2.x versions available. Documentation is present inside the scripts.
End User Licence Agreement (EULA).