Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Game development stories & opinions
I have a white background/black border - sprite which can change its size. How do I keep the border always the same size? (exactly 5 pixel thick anytime)
Try using the 9-patch-object instead of the sprite-object, It is specifically meant for this..
Develop games in your browser. Powerful, performant & highly capable.
the problem with the 9-patch-object is, that it changes its shape in certain positions. Instead of a square it looks like this:
What image are you using and what are the settings?
the standard ones. But it doesn't matter how I change it..it always ends up weirldy when i change the position and size :/
I can't imagine why..
I have had no issues at all..
Download this 9-patch.png
create a new 9-patch object
load the png
keep all the settings as is
it should deform perfectly while keeping the edges the same
well then try the following. Move the bottom right corner from your picture to the left side of your left bottom corner and it happens the same
Yes using negative values for width and height won't work..
There is absolutely no reason to do that, so that shouldn't be an issue..
yes, there is a reason to do that but nvm..thank you