lukasyno Posted June 26, 2013 Share Posted June 26, 2013 Hello, I had problem and I wrote topic see herehttp://www.html5gamedevs.com/topic/790-tilingsprite-resize/but i found 2 strange bugs.Ok 1:I Can't dynamic change width/height instance of TilingSpriteexample see herehttps://dl.dropboxusercontent.com/u/502974/TilingSpriteBugs1/test.html(change browser window size) 2:@enupo found hack solution. stage.removeChild(sprite);sprite.width = 200;stage.addChild(sprite); but see herehttps://dl.dropboxusercontent.com/u/502974/TilingSpriteBugs2/test.htmlif again add child instance of TilingSprite (before I change width/size ) stage.addChildAt(tilingSprite, 0); Is top on Ball.One solution is stage.addChildAt(tilingSprite, 0); stage.addChild(ball); But it is strange i thing tilingSprite broken structure of displayList..Thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.