Description

Compatible with GM:S 1.4 and GM:S 2.

Demo Video

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.

Defining 9patches

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 9patchs

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.

End User Licence Agreement (EULA).

Version 1.0.3. Published January 29, 2017

Created with GameMaker: Studio v1.4.1763

Age Rating: 4+

Average Rating

Your review

You can only review assets you've bought.


Gravatar

Brett B 31 July 2018


Gravatar

Phillip B 15 March 2018

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.


Gravatar

Sinraal S 05 September 2017


Gravatar

Francisco D 30 January 2017

Just great!

Clever implementation.. neat and clean, a must have for 9patch!!
"A 9patch extension to rule them all!"

Package contents

Loading, please wait

What is the issue?

Back to Top