NinePatch Dilemma

Anything libgdx related goes here!

NinePatch Dilemma

Postby scott.bouloutian » Mon Aug 06, 2012 6:48 pm

I created the attached nine patch image and wish to use it in libgdx. It's supposed to scale to look like a tic tac toe board. What makes this nine patch different is that there isn't a single solid black line at the top. Instead there are three separate scalable regions. Does libgdx even support multiple scalable regions of nine patches? I tried using the new texture packer as well, but it didn't help. Any suggestions?

EDIT:
For some reason it wouldn't let me upload the attachment so here is a link to it:
https://docs.google.com/open?id=0ByoN8j ... lVnSVVsSFE
scott.bouloutian
 
Posts: 1
Joined: Mon Aug 06, 2012 6:39 pm

Re: NinePatch Dilemma

Postby Varriount » Thu Aug 09, 2012 9:21 am

Libgdx doesn't support that kind of nine patch. If you want all regions to look the same, went not just uniformly scale the texture up?
Think of the unanswered posters : search.php?search_id=unanswered
If I'm you and you're me, then who's he?
Varriount
 
Posts: 249
Joined: Tue Jun 05, 2012 2:48 pm


Return to Libgdx

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 7 guests