{"action":"closed","issue":{"number":22,"created_at":"2011-10-20T22:49:43Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"In my test, SpriteCloud is not rendering any faster than then normal Sprite2D's, when I'm using SpriteSheet. Same issue exists with SpriteBatch2D.\r\n\r\nUsing a single spritesheet, shared across all animations, caps out at about 380 @ 60fps, regardless of rendering technique.\r\n\r\nCode for adding Sprite2D's is something like this:\r\ntexture = Texture2D.textureFromBitmapData(moleData);\r\nspriteSheet = new SpriteSheet(texture.bitmapWidth, texture.bitmapHeight, frameWidth, frameHeight, 60);\r\nspriteSheet.addAnimation(\"dig\", [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19], true);\r\n        \r\nfor(var i:int = particleList.length; i < numParticles; i++){\r\n        var s:Sprite2D = new Sprite2D(texture);\r\n        s.spriteSheet = spriteSheet;\r\n        s.spriteSheet.playAnimation(\"dig\");\r\n        scene.addChild(s);\r\n}\r\n\r\nCode for adding with cloud, is like this:\r\n\r\ntexture = Texture2D.textureFromBitmapData(moleData);\r\ncloud = new Sprite2DCloud(500, moleData);\r\nspriteSheet = new SpriteSheet(texture.bitmapWidth, texture.bitmapHeight, frameWidth, frameHeight, 60);\r\nspriteSheet.addAnimation(\"dig\", [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19], true);        \r\nscene.addChild(cloud);\r\n\t\t\t\r\nfor(var i:int = particleList.length; i < numParticles; i++){\r\n       var s:Sprite2D = new Sprite2D();\r\n        s.spriteSheet = spriteSheet;\r\n        s.spriteSheet.playAnimation(\"dig\");\r\n        cloud.addChild(s);\r\n}\r\n\r\nObviously all frames are not in sync, and can't _all_ be batched, but I'd assume the framework would be batching identical frames within the cloud, 20 batches for a 20 frame animation... ","comments":3,"title":"SpriteCloud offers no performance boost when using a spritesheets.","updated_at":"2011-10-21T15:45:43Z","url":"https://api.github.com/repos/nulldesign/nd2d/issues/22","id":2010535,"assignee":null,"milestone":null,"closed_at":"2011-10-21T15:45:43Z","user":{"avatar_url":"https://secure.gravatar.com/avatar/74e9d898a84713648e5c35b0497cebde?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"74e9d898a84713648e5c35b0497cebde","url":"https://api.github.com/users/shawnblais","id":736973,"login":"shawnblais"},"html_url":"https://github.com/nulldesign/nd2d/issues/22","labels":[],"state":"closed"},"legacy":{"number":22,"action":"closed","issue":2010535}}