A downloadable addon

This is a FREE plugin for Construct 2.

Back then, we couldn't set the angle of 9-patch objects due to a limitation, explained by Ashley in this post. But now, this updated plugin allows you to set the angle of these objects, just like in Construct 3! Exciting stuff!

⚠ This plugin supports WebGL only.
Updated 1 day ago
StatusReleased
CategoryTool
Rating
Rated 5.0 out of 5 stars
(1 total ratings)
Authorskwp
Tagsaddon, Construct 2, plugin

Download

Download
9patch(v1.3).c2addon 9.4 kB
Download
9patch(v1.1).c2addon 9.3 kB

Install instructions

Simply download the .c2addon file, then drag and drop the file in to the Construct 2 window.

Development log

Comments

Log in with itch.io to leave a comment.

(2 edits) (+1)
Hello, when I set these two properties to "tile," there was a texture misalignment and an error message. Is this a bug?
(1 edit)

Yes, it seems there’s a minor typo in the code causing this bug. Thank you for your report, this issue will be fixed soon.

Okay, thanks. One more thing: is it possible to add the ability to switch animations? I know it's a bit odd, but it's really useful in some cases.

“Switch animations”?

Do you mean loading an image by URL, just like Tiled Backgrounds?

(2 edits)
no,like this

it might be possible to implement the switching of sprites with the same cutting specifications?

(2 edits)

It is possible, but not practical.

Sprites already have a significant impact on project performance, and adding this feature to a delicate object such as 9-patches would make the situation even worse.

You could use Sprites that simulate 9-patches. Of course, they are not the same thing, but it is better than adding a feature that not everyone would expect to have.

You may also want to see this post made on the Construct 2 forum.

(+1)

Thanks a lot for dropping the good stuff!