FlxUI9SliceSprite problem

  • I ran into some weird problem with FlxUI9SliceSprite where sometimes after running resize() my box - with rounded edges - loses its rounded edges completely but still becomes the size I asked for. Setting the box size to something smaller makes it look as it should again, though. Any ideas?

  • I'm starting to suspect that there's some kind of conflict with other 9slice sprites that uses the game gfx asset and size as the one I'm having problems with... I'll try to find a temporary workaround

  • the workaround I came up with is temporarily resizing the other 9slice sprite (that uses the same gfx and size) before resizing the one that causes problems. then do resize() again on the first one to set it back to its original size.

Log in to reply

Looks like your connection to HaxeFlixel was lost, please wait while we try to reconnect.