Compatible with GM:S 1.4 and GM:S 2.
Draw scalable and resizable sprites anywhere in your project!
Use a format compatible with standard android 9patches!
Easily define 9patches in the sprite editor. Supports any number of patches, for more complex patterns.
To have your sprite registered as a 9patch, simply end the sprite name with '_9p'. To define the patch sections, open the sprite and resize the frame to have a 1 pixel border. The top and left edges are used to define the non-stretchable regions. The bottom and right edges define where text can be placed in the drawn patch.
Drawing a 9patch is a simple as calling the draw_9patch script
draw_9patch(sprite, subimage, x, y, width, height) draw_9patch_text(sprite, subimage, x, y, width, height, text)
Also supports draw_9patch_ext,draw_9patch_text_ext for total control.
Version 1.0.3. Published January 29, 2017
Created with GameMaker: Studio v1.4.1763
You can only review assets you've bought.
Easy to use, but watch the tutorial!
I had to watch the tutorial before I understood how to designate the stretchable areas and the text areas. Once you see him do it, it's pretty easy.
Clever implementation.. neat and clean, a must have for 9patch!!
"A 9patch extension to rule them all!"