Open GoogleCodeExporter opened 9 years ago
This problem is due to the lack of functions which modify the patches' scale.
since a patch is unable to scale its texture a patches texture will look
different from resolution to resolution. In order to rectify this, I have
extended the ninepatch class, adding functions which modify the X and Y scale
of the texture.
The extended class is at https://gist.github.com/3119086 .
Do whatever you wish with it.
Original comment by Clay.Swe...@gmail.com
on 15 Jul 2012 at 11:28
First of, thanks for the extension
I have one question, where exactly function getPatches() should be located, my
project doesn't recognize it? Should I some how pass the "patches" variable
from NinePatch.java?
Original comment by raivu...@gmail.com
on 15 Jul 2012 at 11:44
Yup, Now I definitely found out that getPatches() function is deleted from new
NinePatch.java revision. I'm just going to alter the NinePatch.java source a
little bit and hopefully it should work. Thanks.
Original comment by raivu...@gmail.com
on 16 Jul 2012 at 9:50
A 47mb game isn't the executable example I was hoping for. Any chance you can
make a single file + image that shows the problem?
Original comment by nathan.s...@gmail.com
on 16 Jul 2012 at 11:11
Also this is the libgdx-users issue tracker, not the libgdx issue tracker.
Original comment by nathan.s...@gmail.com
on 16 Jul 2012 at 11:12
hehe, yeah I noticed :D I Just issued in real tracker. I honestly didn't know
there are two. I just saw the logo, you know...
Original comment by raivu...@gmail.com
on 17 Jul 2012 at 12:37
Original issue reported on code.google.com by
raivu...@gmail.com
on 15 Jul 2012 at 9:35